bitfield handle

This commit is contained in:
liwei committed 2019-07-06 14:35:19 +08:00
1 parent 544e8bc7b1
commit d6c88d0c4b
7 files changed
+216 -423

No files matched your search

-5
View File
@@ -2,7 +2,6 @@ package torrent
import (
"gopeed/down/bt/metainfo"
"gopeed/down/bt/peer"
)
type Torrent struct {
@@ -21,7 +20,3 @@ func NewTorrent(peerID [20]byte, metaInfo *metainfo.MetaInfo) *Torrent {
}
return torrent
}
// 检查一个peer能否提供需要下载的文件分片
func CheckPeer(bitfield peer.MsgBitfield) {
}