Skip to main content

BLOCK_LEDGERS

Constant BLOCK_LEDGERS 

Source
pub const BLOCK_LEDGERS: usize = 1024;
Expand description

Default archive block: at most this many ledgers and exact bytes. The research’s canonical profile uses 16 MiB. 4 MiB costs +18.7% in size at the 104 million epoch and +26% on recent history, but a cold read takes 24 ms instead of 118. A ledger larger than the limit gets a block sized to fit it (write_with).