Kademlia protocol. Allows peer discovery, records store and records fetch.
Usage is done in the following steps:
KadConnecConfigobject that contain the way you want the Kademlia protocol to behave.
Create a swarm that upgrades incoming connections with the
KadSystemConfig. This requires passing a closure that provides the Kademlia controller of a peer.
You can perform queries using the
A k-buckets table allows one to store a value identified by keys, ordered by their distance to a reference key passed to the constructor.
Network behaviour that handles Kademlia.
Output event of the