reth::rpc::builder::constants::cache

Constant DEFAULT_BLOCK_CACHE_MAX_LEN

Source
pub const DEFAULT_BLOCK_CACHE_MAX_LEN: u32 = 5000; // 5_000u32
Expand description

Default cache size for the block cache: 5000 blocks.