Crate kademlia_routing_table [] [src]

Kademlia Routing Table

Kademlia Routing Table implementation.

Structs

NodeInfo

Allows user defined data for routing table

RoutingTable

The RoutingTable class is used to maintain a list of contacts to which the node is connected.

Constants

GROUP_SIZE

Defines the size of close group

PARALLELISM

Defines the number of contacts which should be returned by the target_nodes function for a target which is outwith our close group and is not a contact in the table.

QUORUM_SIZE

Quorum size.

Traits

HasName

required trait for the info held on a node by routing_table