From 9c491018933833916d5d72e9185671638cb7e99b Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 24 Nov 2026 19:07:35 +0000 Subject: federation: what a node held when it started, it held before any proposal A node keeps when it took each event in memory, by its own clock: after a start, everything its document held was stamped at once, a checkpoint's proposal with the writes it leaves out. The voters' rule asks what was held for a while before the proposal, which was nothing then, and once --store-back-after had passed the node backed it, whatever its heads left out. A followed key left such a proposal pending and gathered its followers' votes as they restarted, as all do to roll out a revision. Now what the store holds as the node first reads it counts as held before any proposal (Inner::from_start, Seen::from_start): the node backs no checkpoint leaving any of it out. One proposed just before a restart at heads that left out the writes then under way isn't backed by that node either; the next one is. a_node_votes_above_the_heads_of_the_checkpoint_it_votes_on read write, proposal and vote into a fresh node at once, which is this case: its node runs before they come now, and a second one, started on all of it, casts nothing. --- docs/federation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/federation.md') diff --git a/docs/federation.md b/docs/federation.md index 7b7bd54..52b03c9 100644 --- a/docs/federation.md +++ b/docs/federation.md @@ -612,7 +612,8 @@ checkpoints are proposed at once, the votes split, as any do; a rule may vote `f the one it doesn't back, so that one dies and its backers are free. It backs, and proposes, a checkpoint only once its store held its checkpoint, or ran, for a while, by its own clock: so the parties it follows move the store at most once that long, and a -node just started, which holds nothing for a while yet, backs none. A node that stopped +node just started backs none. What it held when it started, it takes as held for a +while before any proposal, as its clock says nothing of before. A node that stopped at a version it doesn't read casts nothing, by itself or by hand, as what it reads is behind ([Changing the federation](#changing-the-federation)). -- cgit v1.3.1