简单、可靠的 BitTorrent DHT 实现
Node.js 实现了 BitTorrent DHT 协议。BitTorrent DHT 是 BitTorrent 的主要对等节点发现层,它允许无跟踪器的种子文件。DHT 非常棒! 此模块由 WebTorrent 使用。
const uri = 'magnet:?xt=urn:btih:e3811b9539cacff680e418124272177c47477157' const parsed = magnet(uri) console.log(parsed.infoHash) // 'e3811b9539cacff680e418124272177c47477157' const dht = new DHT() dht.listen(20000, function () { console.log('现在正在监听') }) dht.on('peer', function
暂无开放 Issues,或尚未同步最近议题。