2
0
mirror of synced 2025-02-23 22:28:11 +00:00
2021-09-19 15:16:37 +10:00

19 lines
443 B
Go

package request_strategy
import (
"github.com/anacrolix/torrent/metainfo"
"github.com/anacrolix/torrent/storage"
)
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?
InfoHash metainfo.Hash
ChunksPerPiece int
MaxUnverifiedBytes int64
}