Crate xstack_kad
source ·Expand description
This is a protocol implementation of libp2p Kademlia DHT specification
Modules§
- A record store must implement the
Driver-*traits in this module.
Structs§
- FIND_NODE algorithm implementation.
- Returns by
kad_get_providers - Returns by
kad_get_value - The distance type outlined in the Kademlia paper
- The key type of
KBucketTable - A rust implementation of the k-bucket data structure outlined in the Kademlia paper
- A type wrapper of
DriverKadStore - The configuration for creating
KademliaRouterinstance. - A network node that implement the ibp2p Kademlia DHT specification
- The context data for recursive routing algorithms.
Enums§
- The error type of this crate.
- The varaint returns by call
routingfn rpc onpeers
Constants§
- protocol name of libp2p kad.
Traits§
- A recursive routing algorithm must implement this trait.
Type Aliases§
Resultreturns by functions in this crate.