Skip to main content

DEFAULT_PENDING_SURB_MAX_BYTES

Constant DEFAULT_PENDING_SURB_MAX_BYTES 

Source
pub const DEFAULT_PENDING_SURB_MAX_BYTES: u64 = _; // 268_435_456u64
Expand description

Default byte budget for each of the two Entry-side SURB maps.

256 MiB holds about 454 000 pending records per map, some 23 deployed-size stocks (19 264 SURBs each), so the overflow hoprnet#8624 describes is fixed with room to spare. See SurbStoreConfig::pending_surb_max_bytes for the pair’s worst-case total.