Skip to content

Standalone implementation of the Kademlia distributed hash table

License

Notifications You must be signed in to change notification settings

quarterblue/kademlia-dht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kademlia Distributed Hash Table

Rust MIT licensed

kademlia

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:

Installation

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

Usage

// To be updated

Releases

No releases published

Packages

No packages published

Languages