[][src]Crate libp2p_kad

Implementation of the Kademlia protocol for libp2p.

Re-exports

pub use self::protocol::KadConnectionType;
pub use self::record::RecordStore;
pub use self::record::RecordStorageError;
pub use self::record::MemoryRecordStorage;

Modules

handler
kbucket

Implementation of a Kademlia routing table as used by a single peer participating in a Kademlia DHT.

protocol

The Kademlia connection protocol upgrade and associated message types.

record

Abstracts the Kademlia record store behaviour and provides default in-memory store

Structs

Kademlia

Network behaviour that handles Kademlia.

Enums

GetValueResult

The result of a GET_VALUE query.

KademliaOut

Output event of the Kademlia behaviour.

PutValueResult

The result of a PUT_VALUE query.