probe-lab / go-kademlia

Generic Go Kademlia implementation
Other
17 stars 4 forks source link

Document all features #54

Open guillaumemichel opened 1 year ago

guillaumemichel commented 1 year ago

There is a lack of feature of documentation in go-libp2p-kad-dht, which make it hard to keep the IPFS DHT spec up-to-date, and generally hard to understand what happens in the DHT implementation. We should document all features we are implementing from the start. The feature documentation should ideally live in the same repository, or alternatively on a spec/doc repository that must be kept up-to-date (e.g documentation should be added BEFORE merging the PR).

We should document the design of this implementation thoroughly.

In addition, as the Kademlia paper doesn't go much into the implementation details, we need to document them:

We should also document all non-standard Kademlia items that we add to the libp2p/IPFS implementation, for examples: