Skip to main content

CHANGESET_CACHE_RETENTION_BLOCKS

Constant CHANGESET_CACHE_RETENTION_BLOCKS 

Source
pub const CHANGESET_CACHE_RETENTION_BLOCKS: u64 = 64;
Expand description

The minimum number of blocks to retain in the changeset cache after eviction.

This ensures that recent changesets are kept in memory for potential reorgs, even when the finalized block is not set (e.g., on L2s like Optimism).