Re-exports§
pub use bucket::Bucket;
pub use bucket::BucketEntry;
pub use bucket::EntryStatusFlag;
pub use bucket::CONNECTED_ENTRY;
pub use bucket::DISCONNECTED_ENTRY;
pub use bucket::INCOMPATIBLE_ENTRY;
pub use bucket::PENDING_ENTRY;
pub use bucket::UNREACHABLE_ENTRY;
pub use bucket::UNSTABLE_ENTRY;
pub use entry::xor_distance;
pub use entry::Entry;
pub use entry::Key;
Modules§
Structs§
- This is a modified version of the Kademlia Distributed Hash Table (DHT). https://en.wikipedia.org/wiki/Kademlia
Enums§
- Represents the possible result when adding a new entry.
Constants§
- The distance limit for the closest buckets.
- The maximum number of matched subnets allowed within a single bucket.
- The maximum number of matched subnets across the entire routing table.
- The total number of buckets in the routing table.
Functions§
- Check if two addresses belong to the same subnet.