# Constant zebra_consensus::MAX_CHECKPOINT_BYTE_COUNT[−][src]

pub const MAX_CHECKPOINT_BYTE_COUNT: u64 = 32 * 1024 * 1024; // 0x0_000_000_002_000_000u64

We limit the memory usage and download contention for each checkpoint, based on the cumulative size of the serialized blocks in the chain.

Deserialized blocks (in memory) are slightly larger than serialized blocks (on the network or disk). But they should be within a constant factor of the serialized size.