reth_rpc_builder::constants::cache

Constant DEFAULT_BLOCK_CACHE_SIZE_BYTES_MB

Source
pub const DEFAULT_BLOCK_CACHE_SIZE_BYTES_MB: usize = 500; // 500usize
Expand description

Default cache size for the block cache: 500MB

With an average block size of ~100kb this should be able to cache ~5000 blocks.