Skip to main content

MAX_LOCATOR_RESULTS

Constant MAX_LOCATOR_RESULTS 

Source
pub const MAX_LOCATOR_RESULTS: usize = 256;
Expand description

Maximum total candidate peers a single lookup will return (canonical scan unioned with hints, post-dedup). Keeps a flooded provider list from being amplified into unbounded downstream fetch work.