jech / dht

BitTorrent DHT library

Home Page:https://www.irif.fr/~jch/software/bittorrent/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storing values

yokto opened this issue · comments

I didn't see a method for storing/publishing values. Is this correct?

How difficult would it be to implement such a function. I am willing to do it if it's not to complicated.

I'd be interested in this as well. Is the a BEP, RFC or similar that covers the implementation details? Any idea what percentage of mainline DHT clients support a storage standard?

http://www.bittorrent.org/beps/bep_0005.html I found this am currently reading it.

That's the authoritative reference for the mainline DHT, but does not include DHT storage.

This library implements BEP-5 and BEP-32. It's meant for BitTorrent implementations, and therefore won't implement anything that's out of scope for BitTorrent.

There are a bunch of forks of this library that implement more general DHT functionality, and some of them are actually pretty well done. Please search for a library that meets your non-BitTorrent DHT needs.