Skip to main content

MINIMUM_QUARANTINE_RB_CAPACITY

Constant MINIMUM_QUARANTINE_RB_CAPACITY 

Source
const MINIMUM_QUARANTINE_RB_CAPACITY: usize = 1;
Expand description

Lower bound on SurbStoreConfig::quarantine_rb_capacity, enforced by the config validator.

One: a single HoprPacket::Final may carry up to MAX_SURBS_IN_PACKET SURBs, and each must be able to enter its ring without evicting a batch-mate, so the meaningful floor is “at least one packet”, not “at least a Session’s buffer”.