From 1656f73b41a3528048c33774457b0d68ed430934 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 Nov 2026 13:03:52 +0000 Subject: store: a new event builds on a head holding what it is judged by A new event builds on the heads taken earliest, 64 at most. Where a store holds more, and those all come from before the current version was written, an event on them is written under the version before: a merge event, under one without merge events, was refused, so the backlog of heads a revision was passed to merge stayed, and with more heads than a checkpoint may name, no node proposed one. The fold now says which events a new one is to have in its history (Fold::judged_by; the federation: those writing the current version), and building_on names the earliest head holding one, in place of the last of the others. --- docs/store.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/store.md') diff --git a/docs/store.md b/docs/store.md index d5159f6..f1e7586 100644 --- a/docs/store.md +++ b/docs/store.md @@ -102,7 +102,9 @@ A fold says, of its events: * **how large an event may be**, which the document judges a change by ([On Automerge](#on-automerge)), and how many events it may build on: a new event builds on the heads of what a node holds, as many as that, the earliest taken first, so - that what is written merges what stayed apart the longest; + that what is written merges what stayed apart the longest, one of them holding what + the fold says a new event is judged by, where a head does (the federation: an event + writing the current version); * **whether an event is taken where its history reads as a given state**: judging. A root is taken only as its own store's, never by judging; * **the state a checkpoint and the events after it read as**, built by adding the events -- cgit v1.3.1