-
Notifications
You must be signed in to change notification settings - Fork 1.2k
DHT implementation #3
Comments
There are several implementations of kademlia out there. @feross recently wrote https://github.com./feross/bittorrent-dht which implements mainlineDHT. Unfortunately the ipfs-dht is altogether different, but the basic kademlia algorithm is the same-- so should be able to take inspiration from that module. |
@jbenet, I would definitely appreciate feedback on bittorrent-dht. Let me know if you see anything that could be more efficient or simpler. |
There is now also gordonwritescode/kad. Solid. |
@martindale thanks! |
@jbenet if you happen to have something on the DHT spec written down already, please feel free to push it so I can start on it tomorrow fresh and early :) |
Closing this issue as it referes to the 1st impl of node-ipfs that is no longer supported (as we are building the new one compliant with the spec :) ). |
The next major subsystem to do is the DHT.
The rough plan in order of importance:
Note that this module should work on top of a msgproto packet stream. msgproto handles all standard encapsulation (network, integrity, signing, etc).
The text was updated successfully, but these errors were encountered: