]> Sergey Matveev's repositories - btrtrc.git/blobdiff - request-strategy/torrent.go
Remove unused peer stuff in request strategy
[btrtrc.git] / request-strategy / torrent.go
index ff0261a3eb6944a3c99f6fee98f74cb23a54fee0..f547e1d780b4c7d38e9dbfb4a6cc73fc574143ff 100644 (file)
@@ -8,9 +8,7 @@ import (
 type Torrent struct {
        Pieces   []Piece
        Capacity storage.TorrentCapacity
-       // Unclosed Peers. Not necessary for getting requestable piece ordering.
-       Peers []Peer
-       // Some value that's unique and stable between runs. Could even use the infohash?
+       // Some value that's unique and stable between runs.
        InfoHash       metainfo.Hash
        ChunksPerPiece uint32