Skip to main content

EXPANDED_KEY_CACHE_CAPACITY

Constant EXPANDED_KEY_CACHE_CAPACITY 

Source
const EXPANDED_KEY_CACHE_CAPACITY: usize = 4_096;
Expand description

Maximum number of decompressed packet keys kept by CachingKeyExpander.

A sender only ever expands the keys of the relays on the paths it currently uses, which is a far smaller set than the peers it knows about.