Skip to main content

DEFAULT_RESOLVE_CACHE_ENTRIES

Constant DEFAULT_RESOLVE_CACHE_ENTRIES 

Source
pub const DEFAULT_RESOLVE_CACHE_ENTRIES: usize = 240_000;
Expand description

Default entry capacity (WARATAH_RESOLVE_CACHE_ENTRIES overrides; 0 disables the cache). At ~100–150 bytes per typical IRI entry this bounds the cache at roughly 30–60 MiB of payload plus map overhead.