summaryrefslogtreecommitdiffstats
path: root/src/swarm/topology.rs
Commit message (Collapse)AuthorAgeFilesLines
* bound stable-hub degreetv2 hours1-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 statstv17 hours1-0/+38
|
* nodes prefer stable neighbourstv17 hours1-10/+89
|
* pull missing changestv18 hours1-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 neighbourstv18 hours1-55/+130
|
* sync with neighbourstv18 hours1-0/+91
|
* add neighbour graphtv19 hours1-0/+179