]> Sergey Matveev's repositories - btrtrc.git/blob - client-stats.go
Add Client.Stats with ActiveHalfOpenAttempts
[btrtrc.git] / client-stats.go
1 package torrent
2
3 type ClientStats struct {
4         ConnStats
5
6         // Ongoing outgoing dial attempts. There may be more than one dial going on per peer address due
7         // to hole-punch connect requests. The total may not match the sum of attempts for all Torrents
8         // if a Torrent is dropped while there are outstanding dials.
9         ActiveHalfOpenAttempts int
10 }