pub const MAX_INVALIDATED_BLOCKS: usize = 100;
The maximum number of invalidated block records.
This limits the memory use to around: 100 entries * up to 99 blocks * 2 MB per block = 20 GB
100 entries * up to 99 blocks * 2 MB per block = 20 GB