// Number of pieces data was written to, that subsequently passed verification.
PiecesDirtiedGood Count
- // Number of pieces data was written to, that subsequently failed
- // verification. Note that a connection may not have been the sole dirtier
- // of a piece.
+ // Number of pieces data was written to, that subsequently failed verification. Note that a
+ // connection may not have been the sole dirtier of a piece.
PiecesDirtiedBad Count
}
}())
}
-// All stats that include this Torrent. Useful when we want to increment
-// ConnStats but not for every connection.
+// All stats that include this Torrent. Useful when we want to increment ConnStats but not for every
+// connection.
func (t *Torrent) allStats(f func(*ConnStats)) {
f(&t.stats)
f(&t.cl.stats)