From 0a5dc0ae08d43bc8c2d9945d15720ed58ca40fb9 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 17:15:14 +0000 Subject: federation: what a checkpoint keeps is read as written under its version An event doesn't name the version it was written under, and a node starting from a checkpoint holds none of the kept events' histories. It works out, but `start` has to assume it, and the text didn't say: a node reads what a checkpoint keeps as written under its version, as each was written under that one or an earlier and counts there, a kept proposal is on it, and a later `since` that leaves one out is past it. --- docs/federation.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/federation.md') diff --git a/docs/federation.md b/docs/federation.md index d64914c..3bcbcd6 100644 --- a/docs/federation.md +++ b/docs/federation.md @@ -426,8 +426,11 @@ it. A node that takes the version moves to the checkpoint: it builds it, forgets everything before those heads that it doesn't keep, and every event not above them, and refuses such events from then on. Judging an event after them needs nothing it forgot: the version, every party's keys and node list, and the proposals on the current version -with their votes all count, and are kept. A node that can't build a checkpoint, as it -was away across a move and a remake after it, or as it joins, takes it only where its +with their votes all count, and are kept. A node starting from a checkpoint reads what +it keeps as written under its version, as it holds none of their histories: each was +written under that one or an earlier, counting there, a kept proposal is on it, and a +later `since` that leaves one out is past it. A node that can't build a checkpoint, as +it was away across a move and a remake after it, or as it joins, takes it only where its operator pins it ([`store.md`](store.md), Pinned checkpoints). What it can't check of its heads it takes on its operator's word: that they are after the checkpoint current at the version naming them, at which that one is current too; so it judges that version as -- cgit v1.3.1