aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
Commit message (Collapse)AuthorAgeFilesLines
* add links messagestv4 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 documenttv6 days1-0/+4
|
* add support for renaming IDs in the loggertv6 days1-0/+4
|
* get swarm RTT from pathstv7 days1-0/+4
|
* move keepalive and firewall to pathstv7 days1-2/+6
|
* measure pathstv7 days1-0/+3
|
* rename PING/PONG to STATUS/STATUS_REPLYtv7 days1-8/+8
|
* add transport statstv7 days1-0/+12
|
* build topology per transporttv8 days1-0/+4
|
* use libp2p mDNStv8 days1-0/+4
|
* add support for several transportstv8 days1-0/+4
|
* add identity layertv8 days1-3/+7
|
* introduce addressestv8 days1-0/+12
|
* talk about "transport" unless mycelium is meanttv8 days1-5/+5
|
* add Transport::delivery_limittv8 days1-0/+4
|
* turn all pub into pub(crate)tv8 days1-20/+20
|
* replace utoipa by static openapi.yamltv8 days1-4/+3
|
* send bounded peer liststv8 days1-0/+4
|
* unify lock logictv8 days1-3/+2
|
* add chunked download and use it during rejointv10 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.