diff options
| author | tv <tv@krebsco.de> | 2026-11-09 15:30:50 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-09 18:16:26 +0100 |
| commit | c4b33b9b4aff6129291021448ae21298049093ae (patch) | |
| tree | 24f7cc0d1e5c19fc6f9465d2c18304eadb5d8f0c /src/swarm/hyparview.rs | |
| parent | 62b2f880a1a209e396d3adaef6a38395298011c6 (diff) | |
roots: only the seeds' roots end the wait for them
Review 4, R2 partly (F8): a joining node waited for "each of its seeds" to name the
swarm's root as a count, of every admitted peer that named one. Node identities are
self-made and admission is the swarm key: a member answering a joiner under as many
identities as it has seeds, naming its own root within the wait, made the joiner pin
it before the real seeds answered, and refuse them after as another history.
Now the seeds are the nodes proven at the seeds' addresses (`roots::seed_found`, as
`bootstrap::resolve_seeds` finds them), and only their roots count toward the wait
and start its clock. Another peer naming a root still disputes it (no root while they
differ), so such a member can keep a joiner from joining, as any member can, but not
hand it another root. access.md says so.
Diffstat (limited to 'src/swarm/hyparview.rs')
0 files changed, 0 insertions, 0 deletions
