From 3bc200a2fdae7b928c68b4a1f8bfee9a919e8ff8 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Nov 2026 19:22:34 +0000 Subject: docs: the federation guides, on sets of events A federation starts on sets (--store-document); what is of the Automerge document alone (the store file, putting again, remakes, a pinned checkpoint found in the document) is said apart, for federations that keep their store there until they moved. --- docs/guides/federation/checkpoints.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'docs/guides/federation/checkpoints.md') diff --git a/docs/guides/federation/checkpoints.md b/docs/guides/federation/checkpoints.md index 072fc80..12d08a9 100644 --- a/docs/guides/federation/checkpoints.md +++ b/docs/guides/federation/checkpoints.md @@ -114,10 +114,15 @@ Votes and proposals aren't signed again: their version is behind. ## Nodes that weren't there -A node reads its store at every start from its document's checkpoint, or from the one -its operator pins (`--store-checkpoint`), which it finds in its document. Until a remake -leaves out what a checkpoint forgot, the document holds what came before, and a node -that was away builds the checkpoint from it as any. After such a remake, a node away -across it, or joining, takes the checkpoint only where its operator pins it: ask a node -you trust for it (`checkpoint` in `GET /events`) +A node that was away across a move builds the checkpoint itself, as any: the others keep +what the checkpoint forgot for a while (`--store-keeps-forgotten`, 30 days unless +given), and give it what it lacks. A node away for longer, or joining, starts from the +checkpoint only where its operator pins it (`--store-checkpoint`), with nothing of the +store yet: ask a node you trust for it (`checkpoint` in `GET /events`) ([`running-a-node.md`](running-a-node.md), [Joining](running-a-node.md#joining)). + +A node keeping its store in the Automerge document reads it at every start from its +document's checkpoint, or from the one its operator pins, which it finds in its +document. Until a remake leaves out what a checkpoint forgot, the document holds what +came before, and a node that was away builds the checkpoint from it; after such a +remake, it takes the checkpoint only where its operator pins it. -- cgit v1.3.1