X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=client-stats.go;h=3513f8f1c250c98ffff3c0a4b33b0af5be8f737a;hb=12db16c478cac89d0767cceac5dfc2fa75f7abb1;hp=d799bae6bb86f12816d923c7e11809b8d72f1e90;hpb=884b71ea6d0cd9409e6c205d17be53ba29738499;p=btrtrc.git diff --git a/client-stats.go b/client-stats.go index d799bae6..3513f8f1 100644 --- a/client-stats.go +++ b/client-stats.go @@ -7,4 +7,11 @@ type ClientStats struct { // to hole-punch connect requests. The total may not match the sum of attempts for all Torrents // if a Torrent is dropped while there are outstanding dials. ActiveHalfOpenAttempts int + + // Number of unique peer addresses that were dialed after receiving a holepunch connect message, + // that have previously been undialable without any hole-punching attempts. + NumPeersUndialableWithoutHolepunchDialedAfterHolepunchConnect int + // Number of unique peer addresses that were successfully dialed and connected after a holepunch + // connect message and previously failing to connect without holepunching. + NumPeersDialableOnlyAfterHolepunch int }