单个peer的文件下载实现

This commit is contained in:
liwei committed 2019-10-08 16:56:22 +08:00
1 parent fe0138440f
commit 15a4b6ddc4
9 files changed
+179 -48

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ func buildTorrent() *Torrent {
if err != nil {
panic(err)
}
metaInfo.Announce = "udp://tracker.opentrackr.org:1337/announce"
metaInfo.Announce = "udp://exodus.desync.com:6969/announce"
metaInfo.AnnounceList = [][]string{}
return NewTorrent(peer.GenPeerID(), metaInfo)
}