X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=peer-impl.go;h=f9f9096b198ea5d247d157fb940fbc9172ace1ac;hb=HEAD;hp=1b9cf978205506a598fbfbad1812a31cf5cafb40;hpb=39af2fe8f2938fe31109222dbc061598ba1100fb;p=btrtrc.git diff --git a/peer-impl.go b/peer-impl.go index 1b9cf978..f9f9096b 100644 --- a/peer-impl.go +++ b/peer-impl.go @@ -2,6 +2,7 @@ package torrent import ( "github.com/RoaringBitmap/roaring" + "github.com/anacrolix/torrent/metainfo" ) @@ -25,7 +26,7 @@ type peerImpl interface { // Rebuke the peer ban() String() string - connStatusString() string + peerImplStatusLines() []string // All if the peer should have everything, known if we know that for a fact. For example, we can // guess at how many pieces are in a torrent, and assume they have all pieces based on them