Skip to main content

Module bin

Module bin 

Source
Expand description

Typed Kademlia bin index in the range 0..=MAX_PO.

A Bin is a routing-table slot keyed by the proximity order between an anchor address (e.g. our own overlay) and a peer’s overlay. Distinguished from ProximityOrder at the type level even though they share a representation. PO is the metric, Bin is the slot.

Structs§

Bin
Typed Kademlia bin index, 0..=MAX_PO (= 0..=31).

Enums§

BinError
Errors from constructing a Bin.