aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/replica.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-14 12:17:21 +0000
committertv <tv@krebsco.de>2026-11-14 12:17:21 +0000
commitbc85717d37a3ebd22bad967aedcda89ce363d244 (patch)
treeea4feaf6b76120c0ed09d5f93e47ccc790af7d64 /src/document/replica.rs
parent33db2b33d6f39b14c8ceee9c1f3cc6b8ff378d11 (diff)
federation: envelopes name their branch, and floors keep out what a remake left out
An envelope was taken in the epoch it named and the next, and the root change listed what its base held of the epoch before. So a base that left out what the epoch before had brought in sent those envelopes two epochs back, and refused them; one user able to commit a remake on its own changes erased whatever was signed after the last snapshot it didn't choose. And a node away over two remakes lost what its user had signed meanwhile. An envelope now names the branch it was signed on: a fork or a refusal begins one, the genesis change the first, and a remake stays on the branch it is on. An envelope signed in an earlier epoch of its branch is brought along from however many remakes back. What a remake left out is kept out by floors instead of the list: for each user and kind of statement, the highest number a remake left out; a statement brought along at or below it, and not in the snapshot, is refused. Every statement is numbered, votes too. A value needs no floor: one left out names in its `prev` a value that is gone. What a floor refuses goes to the quarantine of the node that holds it, at a switch as on coming back.
Diffstat (limited to 'src/document/replica.rs')
0 files changed, 0 insertions, 0 deletions