]> Sergey Matveev's repositories - btrtrc.git/blobdiff - peer-impl.go
Drop support for go 1.20
[btrtrc.git] / peer-impl.go
index 1b9cf978205506a598fbfbad1812a31cf5cafb40..f9f9096b198ea5d247d157fb940fbc9172ace1ac 100644 (file)
@@ -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