pub fn trim_ledger(dir: &Path, now_ms: i64) -> Result<usize, String>
The ledger’s old keys taken out, LEDGER_KEPT_MS on (any request expired long before; the mark refuses those written before it anyway).
LEDGER_KEPT_MS