2 unstable releases

0.7.0 May 4, 2019
0.6.0 May 4, 2019

#1 in #susyp2p


Used in susyp2p

MIT license

1MB
15K SLoC

Central repository for work on susyp2p

dependency status

This repository is the central place for Rust development of the susyp2p spec.

Warning: While we are trying our best to be compatible with other susyp2p implementations, we cannot guarantee that this is the case considering the lack of a precise susyp2p specifications.

Documentation

How to use the library?

Where to ask questions?

  • In the Rust section of https://discuss.susyp2p.io.
  • In the #susyp2p IRC channel on freenode.
  • By opening an issue in this repository.

Notable users

(open a pull request if you want your project to be added here)


lib.rs:

Kademlia protocol. Allows peer discovery, records store and records fetch.

Usage

Usage is done in the following steps:

  • Build a KadSystemConfig and a KadConnecConfig object that contain the way you want the Kademlia protocol to behave.

  • Create a swarm that upgrades incoming connections with the KadConnecConfig.

  • Build a KadSystem from the KadSystemConfig. This requires passing a closure that provides the Kademlia controller of a peer.

  • You can perform queries using the KadSystem.

Dependencies

~11MB
~201K SLoC