bittorrent-dht::spider_web:简单,可靠,BitTorrent DHT实现

时间:2021-02-03 02:26:33
【文件属性】:
文件名称:bittorrent-dht::spider_web:简单,可靠,BitTorrent DHT实现
文件大小:31KB
文件格式:ZIP
更新时间:2021-02-03 02:26:33
nodejs javascript torrent bittorrent p2p 比特洪流 简单,强大的BitTorrent DHT实施 Node.js实现。 BitTorrent DHT是BitTorrent的主要对等发现层,它允许无跟踪的种子。 DHT非常棒! 使用此模块。 产品特点 在JavaScript中完全实现DHT协议 遵循 支持在DHT中存储任意数据 坚固且经过测试 全面的离线测试套件 由 , 和 有效的递归查找算法可最大程度地减少UDP流量 使用相同的路由表支持多个并发查找 另请参阅 。 安装 npm install bittorrent-dht 例 npm install magnet-uri const DHT = require ( 'bittorrent-dht' ) const magnet = require ( 'magnet-uri' ) const uri = 'magnet:?xt=urn:btih:e3811b9539cacff680e418124272177c47477157' const parsed = magnet ( uri ) console . log ( parsed . infoHash ) // 'e381
【文件预览】:
bittorrent-dht-master
----.gitignore(13B)
----README.md(13KB)
----client.js(21KB)
----server.js(221B)
----test()
--------basic.js(3KB)
--------live()
--------horde.js(2KB)
--------bootstrap.js(680B)
--------put-get.js(1KB)
--------internal.js(6KB)
--------common.js(1KB)
--------to-json.js(3KB)
--------ping.js(2KB)
--------announce.js(4KB)
--------dht_store_mutable.js(14KB)
--------updated-bucket.js(5KB)
--------dht_test_vectors.js(3KB)
--------events.js(3KB)
--------abort.js(521B)
--------dht_store_immutable.js(3KB)
----LICENSE(1KB)
----package.json(1KB)
----index.js(243B)
----AUTHORS.md(2KB)
----tools()
--------update-authors.sh(541B)
----.npmignore(25B)
----.travis.yml(208B)

网友评论