zebrad::components::mempool::storage

Constant MAX_EVICTION_MEMORY_ENTRIES

source
pub(crate) const MAX_EVICTION_MEMORY_ENTRIES: usize = 40_000;
Expand description

The size limit for mempool transaction rejection lists per ZIP-401.

The size of RecentlyEvicted SHOULD never exceed eviction_memory_entries entries, which is the constant 40000.

We use the specified value for all lists for consistency.