summaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
Commit message (Collapse)AuthorAgeFilesLines
* turn all pub into pub(crate)tv3 days1-20/+20
|
* replace utoipa by static openapi.yamltv3 days1-4/+3
|
* send bounded peer liststv4 days1-0/+4
|
* unify lock logictv4 days1-3/+2
|
* add chunked download and use it during rejointv6 days1-0/+2
|
* add traffic countertv6 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.