Kademlia distributed hash table is a peer-to-peer dht with provable consistency and performance in a fault-prone environment. It is based on XOR distance metric topology to facilitate the communication between nodes.
This is a standalone implementation of the Kademlia distributed table in pure Rust. This implementation tries to follow the original paper as close as possible. Refer to the original paper for more information.
Other references:
To run a server, clone the repo and run
$ cargo run server 8111
To run a client, clone the repo and run
$ cargo run client 8222
To run a full node, clone the repo and run
$ cargo run full 8111
// To be updated