aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
Commit message (Collapse)AuthorAgeFilesLines
* send bounded peer liststv8 days1-0/+4
|
* unify lock logictv8 days1-3/+2
|
* add chunked download and use it during rejointv9 days1-0/+2
|
* add traffic countertv10 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.