Module libp2p_networking::network::behaviours::dht
source · Expand description
Wrapper around Kademlia
Modules§
- Task for doing bootstraps at a regular interval
- Additional DHT record functionality
- Additional DHT store functionality
Structs§
- State of bootstrapping
- Behaviour wrapping libp2p’s kademlia included:
- Metadata holder for get query
- Metadata holder for get query
- the maximum number of nodes to query in the DHT at any one time
Enums§
- DHT event enum
- represents progress through DHT
- State used for random walk and bootstrapping
Constants§
- the number of nodes required to get an answer from in order to trust that the answer is correct when retrieving from the DHT