--- tags: - bittorrent - dht link: https://www.bittorrent.org/beps/bep_0005.html related-to: - "[[BitTorrent DHT clarifications]]" - "[[Learn BitTorrent]]" - "[[Protocol v1 clarifications]]" --- #bittorrent #dht | link | https://www.bittorrent.org/beps/bep_0005.html | | ---------- | --------------------------------------------------------------------------------------- | | related-to | [[BitTorrent DHT clarifications]], [[Learn BitTorrent]], [[Protocol v1 clarifications]] | For the DHT protocol, there are four **queries**: - [[ping]]: to check if another node (one from its DHT routing table) is online and reachable, - `find_node`: find the contact information for a node given its ID, - `get_peers`: get peers associated with a torrent [[Infohash|infohash]], - `announce_peer`: to *announce* that the peer, controlling the querying node, is downloading a torrent on a port.