Structsยง
- Eviction
Reporters ๐ - The capacity-eviction reporters of a single
MemorySurbStore, one per cache. - Memory
Surb Store - Basic
SurbStoreimplementation based on an in-memory cache. - Popped
Surb - Represents a single SURB along with its ID popped from the
SurbRingBuffer. - Size
Eviction ๐Reporter - Keeps capacity evictions observable without letting them flood the log.
- Surb
Ring Buffer - Ring buffer of SURBs and their IDs, all normally belonging to one pseudonym and therefore
identified only by [
HoprSurbId]. - Surb
Store Config - Configuration for the SURB cache.
Enumsยง
- Surb
PopOrder - Which end of the per-pseudonym buffer a pop consumes from. Replying side only.
Constantsยง
- MINIMUM_
OPENERS_ ๐PER_ PSEUDONYM - MINIMUM_
OPENER_ ๐LIFETIME - MINIMUM_
OPENER_ ๐PSEUDONYMS - MINIMUM_
SURBS_ ๐PER_ PSEUDONYM - MINIMUM_
SURB_ LIFETIME - Lower bound on
SurbStoreConfig::pseudonyms_lifetime, enforced by the config validator. - MIN_
SURB_ ๐RB_ CAPACITY - SIZE_
EVICTION_ ๐WARN_ INTERVAL - Shortest gap between two capacity-eviction warnings from the same cache.