aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/testing.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-14 12:17:43 +0000
committertv <tv@krebsco.de>2026-11-14 12:17:43 +0000
commitef9a4d5cdd46024285c8c510cf6767344199ab3e (patch)
treee5bff0dfa271ecca3b19b1dd4b836e6073d838c1 /src/document/testing.rs
parentbc85717d37a3ebd22bad967aedcda89ce363d244 (diff)
federation: a remake's base holds a third of the voters' stamps
With any base followed, a coordinator could keep every snapshot at a base of its own changes: honest envelopes then never enter a snapshot, and lengths of time stay out of it. A check by how old a base is at each node can part honest nodes, by when each got the decision. A node follows only a remake whose base holds stamps of nodes of more than a third of the voters, each written once its own history held the epoch's threshold. A stamp's history is all its node had seen, so such a base holds what a third of the voters' nodes had seen once the epoch was due, and every node reads that from the base alone: none follows where another doesn't. Without a third of the voters' nodes stamping, no remake passes, as nothing is decided.
Diffstat (limited to 'src/document/testing.rs')
0 files changed, 0 insertions, 0 deletions