aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 14:02:45 +0000
committertv <tv@krebsco.de>2026-11-16 15:06:17 +0100
commite0cac08c5c293f5eb05a5ddf5302b9dc89d9e44d (patch)
tree8a2eb513e19bc75b52e19c81d69091e807441c17 /src/simtest/mod.rs
parent3b5045838daec9d8ffb46ff030bf17e08fd53148 (diff)
docs/federation: checkpoints the parties pass
A version may name heads for a checkpoint: what counts there written down, as those heads, a version and the IDs of the events that count there. Once a node takes the version, it moves to the checkpoint, forgets what came before but what it keeps, and refuses every event not above the heads. The proposal, its votes and the version events writing it must be above them, so that moving refuses nothing that decided it. Judging after a checkpoint reads only what counts, which it keeps; what it loses is what counted no more before it, and what isn't above its heads, which its party signs again. A federation's root is its first checkpoint, and a fork's root a checkpoint at the heads it forks at, which nodes holding that history check and others take on their operator's word. A node checks everything back to its checkpoint, which it built itself or its operator pinned. Checkpoints any member makes are a road not taken.
Diffstat (limited to 'src/simtest/mod.rs')
0 files changed, 0 insertions, 0 deletions