diff options
| author | tv <tv@krebsco.de> | 2026-11-14 12:18:28 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-14 12:18:28 +0000 |
| commit | 966e3e43f77c976a66d0f4afad0cad05aab0d9b3 (patch) | |
| tree | ef9f11a035738172d37a3f63f277d5a9dd5c88e7 /src/document/sync.rs | |
| parent | ef9a4d5cdd46024285c8c510cf6767344199ab3e (diff) | |
federation: a switch record says what began after the base
A length that began after a remake's base had nothing in the snapshot,
so it started anew in the next epoch: a claim final after the base
was contestable again, a user gone after it waited again. A decision
decided after the base waited for the nodes of two thirds of the
voters to take it up again, who may be gone by then. And a node's
change written between its switch record and the envelopes it named
witnessed against them.
A switch record now also names each length that began for its node
after the base, from the stamp it began at; the claims it held
standing with no rival there; and the proposals it took up after the
base, which are its records in the new epoch, judged against the
votes brought along. Every change a node commits after its switch
record reads what the record names as in its history. The length by
which something stops counting for good is among the lengths the
snapshot and the switch records list.
Diffstat (limited to 'src/document/sync.rs')
0 files changed, 0 insertions, 0 deletions
