aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
Commit message (Collapse)AuthorAgeFilesLines
* calculate peer clock drifttv6 days1-0/+4
|
* add links messagestv6 days1-0/+3
| | | | | | | | | Introduce two new wire messages, LINKS and LINKS_REPLY (swarm::links). A member answers with its links: for each peer, the transport, whether it’s relayed, the RTT, and whether it’s dormant. It answers members only, at most every 5 s. This bumps wire::VERSION to 7. Every build answers, with or without the feature, so every node needs this patch before the map shows anything beyond its own node.
* list libp2p relays in documenttv8 days1-0/+4
|
* add support for renaming IDs in the loggertv8 days1-0/+4
|
* get swarm RTT from pathstv9 days1-0/+4
|
* move keepalive and firewall to pathstv9 days1-2/+6
|
* measure pathstv9 days1-0/+3
|
* rename PING/PONG to STATUS/STATUS_REPLYtv9 days1-8/+8
|
* add transport statstv10 days1-0/+12
|
* build topology per transporttv10 days1-0/+4
|
* use libp2p mDNStv10 days1-0/+4
|
* add support for several transportstv10 days1-0/+4
|
* add identity layertv10 days1-3/+7
|
* introduce addressestv10 days1-0/+12
|
* talk about "transport" unless mycelium is meanttv10 days1-5/+5
|
* add Transport::delivery_limittv10 days1-0/+4
|
* turn all pub into pub(crate)tv10 days1-20/+20
|
* replace utoipa by static openapi.yamltv10 days1-4/+3
|
* send bounded peer liststv11 days1-0/+4
|
* unify lock logictv11 days1-3/+2
|
* add chunked download and use it during rejointv12 days1-0/+2
|
* add traffic countertv13 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.