proxy.golang.org : github.com/anacrolix/dht/v2 : v2.0.3
Package dht implements a Distributed Hash Table (DHT) part of the BitTorrent protocol, as specified by BEP 5: http://www.bittorrent.org/beps/bep_0005.html BitTorrent uses a "distributed hash table" (DHT) for storing peer contact information for "trackerless" torrents. In effect, each peer becomes a tracker. The protocol is based on Kademila DHT protocol and is implemented over UDP. Please note the terminology used to avoid confusion. A "peer" is a client/server listening on a TCP port that implements the BitTorrent protocol. A "node" is a client/server listening on a UDP port implementing the distributed hash table protocol. The DHT is composed of nodes and stores the location of peers. BitTorrent clients include a DHT node, which is used to contact other nodes in the DHT to get the location of peers to download from using the BitTorrent protocol. Standard use involves creating a Server, and calling Announce on it with the details of your local torrent client and infohash of interest.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/anacrolix/dht/v2@v2.0.3
Published:
Indexed:
- github.com/anacrolix/envpprof v0.0.0-20180404065416-323002cec2fa
- github.com/anacrolix/missinggo v0.2.1-0.20190310234110-9fbdc9f242a8
- github.com/anacrolix/sync v0.0.0-20180611022320-3c4cb11f5a01
- github.com/anacrolix/tagflag v0.0.0-20180605133421-f477c8c2f14c
- github.com/anacrolix/torrent v0.0.0-20180622074351-fefeef4ee9eb
- github.com/bradfitz/iter v0.0.0-20190303215204-33e6a9893b0c
- github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815
- github.com/edsrzf/mmap-go v0.0.0-20170320065105-0bce6a688712
- github.com/pkg/errors v0.8.1
- github.com/stretchr/testify v1.2.1
- github.com/willf/bloom v2.0.3+incompatible
- golang.org/x/time v0.0.0-20190308202827-9d24e82272b4