Skip to content

Instantly share code, notes, and snippets.

  • Save lmatteis/210d3b06d712aa37eba2d07b665bb8da to your computer and use it in GitHub Desktop.
Save lmatteis/210d3b06d712aa37eba2d07b665bb8da to your computer and use it in GitHub Desktop.
The value of the payload ``v`` contains
a bencoded dict with key ``ih`` (info hash) and value the 20 byte infohash of
such torrent. Note that there is a 1-to-1 mapping between a mutable DHT item
and a torrent.
.. parsed-literal::
"v": {
"ih": "<20-byte infohash of target torrent>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment