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