Is it possible to put infohashs into the network?
benjojo opened this issue · 3 comments
benjojo commented
Hey I am looking to store (publish my ownership of a infohash) is there a way this library can do this?
nictuku commented
Yes, use the PeersRequest method and set "announce" to True. If I recall correctly, that assumes the Torrent server is on the server port as the DHT, although on the TCP port.
Let me know how that works for you.
benjojo commented
Aaa, Woops looks like I forgot to read the docs. Thanks!
nictuku commented
I don't think you are at fault, the API isn't clear enough. This method is called "PeersRequest" but one parameter changes its behavior completely, which is very confusing. I'll consider improving the API in the future.