aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
Commit message (Collapse)AuthorAgeFilesLines
* turn all pub into pub(crate)tv13 days1-20/+20
|
* replace utoipa by static openapi.yamltv13 days1-4/+3
|
* send bounded peer liststv14 days1-0/+4
|
* unify lock logictv14 days1-3/+2
|
* add chunked download and use it during rejointv2026-10-241-0/+2
|
* add traffic countertv2026-10-241-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.