]> Sergey Matveev's repositories - btrtrc.git/blob - request-strategy/torrent.go
Performance improvements in piece requesting
[btrtrc.git] / request-strategy / torrent.go
1 package request_strategy
2
3 import (
4         "github.com/anacrolix/torrent/storage"
5 )
6
7 type Torrent struct {
8         Pieces   []Piece
9         Capacity storage.TorrentCapacity
10         Peers    []Peer // not closed.
11         // Some value that's unique and stable between runs. Could even use the infohash?
12         StableId uintptr
13
14         MaxUnverifiedBytes int64
15 }