aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/peers.rs
Commit message (Collapse)AuthorAgeFilesLines
* build stats and peers as valuestv8 days1-2/+8
| | | | | | Both /admin/stats and /peers can now be built as plain values (stats::collect, peers::peer_list), so the upcoming dashboard can reuse them.
* peers from member list start as unknowntv10 days1-0/+3
|
* drop peer.rttMs from /peers APItv10 days1-8/+0
|
* get swarm RTT from pathstv10 days1-2/+2
|
* don't sample lost PONGstv10 days1-1/+1
|
* add transport statstv11 days1-0/+6
|
* admit nodeId and addresses in the APItv12 days1-8/+15
|
* peers in /peers is an attrsettv12 days1-24/+28
|
* make clippy happy againtv12 days1-6/+5
|
* replace utoipa by static openapi.yamltv12 days1-33/+7
|
* fix race between alive check and forgettingtv12 days1-1/+8
|
* wrap unix timestamps in newtypetv12 days1-1/+2
|
* unify peers snapshot logictv12 days1-11/+2
|
* unify lock logictv12 days1-2/+2
|
* add clock moduletv13 days1-2/+2
| | | | | The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
* add force module usable by API and CLItv13 days1-5/+7
|
* cache headstv14 days1-1/+1
| | | | To reduce the number of write locks, heads are now cached.
* add node aliasestv2026-10-241-0/+7
|
* add throughput statstv2026-10-241-0/+23
|
* add per peer incident statstv2026-10-241-1/+3
|
* add traffic countertv2026-10-241-0/+6
| | | | | | | | | | 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.
* record RTT sampling instanttv2026-10-241-3/+3
|
* record RTT from keepalive messagestv2026-10-241-0/+8
|
* sync with neighbourstv2026-10-241-0/+4
|
* add member registrytv2026-10-241-1/+4
|
* retry using fresh messagestv2026-10-241-1/+1
| | | | | Don't store encoded messages but retry using a newly generated one. That way any accumulated changes can be delivered at once.
* bump number of heads in keepalive messagestv2026-10-231-0/+9
| | | | | Instead of arbitrarily limiting the number to 16, allow filling keepalive messages as long as they don't cause mycelium to chunk it.
* introduce sync sessiontv2026-10-231-1/+1
| | | | SyncSession holds all fields that get reset by reset_sync()
* merge membership and authenticate into standingtv2026-10-231-5/+2
|
* rename cluster to swarm everywhere!tv2026-10-211-5/+5
|
* reorganize all the modulestv2026-10-211-3/+3
|
* add epoch switchtv2026-10-201-1/+1
|
* add epochstv2026-10-191-1/+30
|
* initial committv2026-10-191-0/+161