aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-13 01:51:33 +0000
committertv <tv@krebsco.de>2026-11-13 01:51:33 +0000
commit95560fa7680c99f5c37359364b6a1413a5f9d6fc (patch)
treea0497a3db47fbe20be99bc1cba683961377c60ac /src/remake/mod.rs
parent71a9b558fa5ae09fe2dee2cd822da9dcf4af0659 (diff)
federation: carry records, refusing within a window, digests by two thirds
What was left open after the second reading: * After a remake every node first commits a carry record: the digests of what it holds beyond the base and what it held of it. It witnesses as the node's changes did. Then each envelope is written again once, by whoever finds the epoch lacking it, and only where a carry record names it. So a late remake doesn't bring every envelope once per node, and nobody hands in later what no node held at the switch. * What is carried over comes after what the snapshot holds and before what the new epoch signs: a number nobody could check orders only its signer's statements, and a carried proposal outranks none of the new epoch. A value of the new epoch has the last word over one carried over. * No node takes up a proposal that says it saw less than the node held a window before, so whoever proposes can't make refusing cost a whole epoch. * A node stops writing only where its digest differs from the nodes of more than two thirds of the other voters: fewer than a third stamping nonsense stop nobody, with three voters too. * A node carrying for a third of the voters, keeping its records back, is said, with what the voters do about it; a voter without a node names carriers of two parties. * Writers of a node stopped with a cut count for nobody. A limit lowered for a day gives names away for good, said.
Diffstat (limited to 'src/remake/mod.rs')
0 files changed, 0 insertions, 0 deletions