aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/topology.rs
Commit message (Collapse)AuthorAgeFilesLines
* unify lock logictv11 days1-17/+6
|
* add random swarms testtv11 days1-0/+62
|
* recompute neighbours whenever topology changestv11 days1-0/+20
|
* bound stable-hub degreetv12 days1-4/+46
| | | | | | Each stable member can be preferred at most by 4*k members. The budget is spent in key order, which is the same on every node, so the graph stays deterministic, symmetric and connected.
* add swarm statstv13 days1-0/+38
|
* nodes prefer stable neighbourstv13 days1-10/+89
|
* pull missing changestv13 days1-0/+17
| | | | | | 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.
* find reachable neighbourstv13 days1-55/+130
|
* sync with neighbourstv13 days1-0/+91
|
* add neighbour graphtv13 days1-0/+179