Skip to main content

MAX_HINTED_RENDEZVOUS

Constant MAX_HINTED_RENDEZVOUS 

Source
pub const MAX_HINTED_RENDEZVOUS: usize = 8;
Expand description

Maximum number of out-of-band rendezvous buckets one lookup will scan in addition to the canonical key. Bounds DHT work: a malicious hint source (untrusted PDS record, relay bridge, mailbox) cannot amplify a single MainlineLocator::providers_with_hints into an unbounded fan-out.