aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/relay.rs
Commit message (Collapse)AuthorAgeFilesLines
* use Automerge as Document instead of AutoCommittv3 days1-2/+2
| | | | This allows a lot of operations to drop mut.
* move all automerge references to documenttv3 days1-9/+2
|
* rename AutoMerge to Documenttv3 days1-1/+1
|
* unify request_sync logictv4 days1-4/+1
|
* rename PING/PONG to STATUS/STATUS_REPLYtv7 days1-6/+6
|
* talk about "transport" unless mycelium is meanttv8 days1-1/+1
|
* make clippy happy againtv8 days1-1/+1
|
* add sync and relay statstv8 days1-1/+9
|
* keepalive sends head samples alongside digesttv8 days1-21/+22
| | | | | | When there are more than 32 heads that can be send in a single keepalive message, the digest is accompanied by 32 heads, a different window each time, so after a few keepalives every head has been listed.
* add pull queuetv8 days1-31/+79
|
* read stamps sync and lock freetv8 days1-2/+3
|
* SyncSessions owns Automerge's sync statetv9 days1-2/+1
|
* unify lock logictv9 days1-14/+5
|
* coalesce announcementstv10 days1-2/+56
|
* cache headstv10 days1-0/+4
| | | | To reduce the number of write locks, heads are now cached.
* record RTT from keepalive messagestv11 days1-8/+3
|
* pull missing changestv11 days1-0/+126
Nodes push changes to their neighbours but don't relay them directly. In a partial mesh, nodes can learn about missing changes via keepalive messages and can pull them from their neighbours.