aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/topology.rs
Commit message (Collapse)AuthorAgeFilesLines
* bound stable-hub degreetv9 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 statstv10 days1-0/+38
|
* nodes prefer stable neighbourstv10 days1-10/+89
|
* pull missing changestv10 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 neighbourstv10 days1-55/+130
|
* sync with neighbourstv10 days1-0/+91
|
* add neighbour graphtv10 days1-0/+179