]> Sergey Matveev's repositories - btrtrc.git/blob - torrent_stats.go
Merge a bunch of stuff into ConnStats and refactor connection.upload
[btrtrc.git] / torrent_stats.go
1 package torrent
2
3 type TorrentStats struct {
4         // Aggregates stats over all connections past and present. Some values may
5         // not have much meaning in the aggregate context.
6         ConnStats
7
8         // Ordered by expected descending quantities (if all is well).
9         TotalPeers       int
10         PendingPeers     int
11         ActivePeers      int
12         ConnectedSeeders int
13         HalfOpenPeers    int
14 }