aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
Commit message (Collapse)AuthorAgeFilesLines
* send bounded peer liststv9 days1-0/+4
|
* unify lock logictv9 days1-3/+2
|
* add chunked download and use it during rejointv11 days1-0/+2
|
* add traffic countertv11 days1-0/+199
This introduces a new wrapper that counts messages and payload bytes per peer, split by kind (hello, helloReply, sync, ping, pong), each sent, received and refused. The traffic counter goes around the firewall, which means messages dropped outbound are still counted as sent, and messages dropped inbound don't count as received.