58 releases (breaking)
|0.42.1||Dec 26, 2022|
|0.42.0||Nov 25, 2022|
|0.41.0||Oct 14, 2022|
|0.38.0||Jul 5, 2022|
|0.6.0||Mar 29, 2019|
#47 in Network programming
97,136 downloads per month
Used in 86 crates (4 directly)
Implementation of the libp2p-specific Kademlia protocol.
- Peer Discovery with Identify In other libp2p implementations, the
Identify protocol might be seen as a core protocol. Rust-libp2p
tries to stay as generic as possible, and does not make this assumption.
This means that the Identify protocol must be manually hooked up to Kademlia through calls
Kademlia::add_address]. If you choose not to use the Identify protocol, and do not provide an alternative peer discovery mechanism, a Kademlia node will not discover nodes beyond the network's boot nodes. Without the Identify protocol, existing nodes in the kademlia network cannot obtain the listen addresses of nodes querying them, and thus will not be able to add them to their routing table.