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 |
QUORUM_SIZE |
Used as number of nodes agreed to represnet a quorum |
Traits
HasName |
required trait for the info held on a node by routing_table |
Functions
bucket_size |
Bucket size |
group_size |
Defines the size of close group |
optimal_table_size |
optimal table size as usize |
parallelism |
parallelism as u64 |
quorum_size |
Quorum size as usize |