Skip to main content

K_BUCKET_SIZE

Constant K_BUCKET_SIZE 

Source
pub const K_BUCKET_SIZE: usize = MAX_CLOSER_NODES /* 20usize */;
Expand description

Kademlia bucket size (ADR 022 §Routing Table). Equal to MAX_CLOSER_NODES so a fully-populated bucket can be serialised straight into a closer_nodes field without re-truncation.