pub const MAX_LEDGER_GENERATIONS: usize = 65_536;
Maximum retained generations; daily upgrades have over 179 years of headroom.