Add torrent.InfoHash type alias
This commit is contained in:
parent
76a3c0891a
commit
e1d6fc2341
@ -64,7 +64,7 @@ type Client struct {
|
|||||||
// through legitimate channels.
|
// through legitimate channels.
|
||||||
dopplegangerAddrs map[string]struct{}
|
dopplegangerAddrs map[string]struct{}
|
||||||
badPeerIPs map[string]struct{}
|
badPeerIPs map[string]struct{}
|
||||||
torrents map[metainfo.Hash]*Torrent
|
torrents map[InfoHash]*Torrent
|
||||||
|
|
||||||
acceptLimiter map[ipStr]int
|
acceptLimiter map[ipStr]int
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user