From 2c9be74e184e0d942f03a8f1b549bdd7317e2dbd Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 Nov 2026 15:34:56 +0000 Subject: store: a party's next event builds on its last, past 64 heads Where a store holds more heads than an event names, a new event builds on the earliest. A party's write may then lack its last one in its history: of two neither in the other's the lower ID counts, not the later, and a key set written so is written under an older version, and ranks below one written under the latest. building_on_with names a head holding each event it is asked to hold, beside the one holding what the fold judges by; GET /events?party=NAME asks it for that party's last write, key set or node list (latest_of), and continuum-party signs on the heads for its party. --- docs/openapi.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/openapi.yaml') diff --git a/docs/openapi.yaml b/docs/openapi.yaml index d3063d8..5da363b 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1454,7 +1454,9 @@ paths: summary: The store description: | The store's ID (its root's), its checkpoint's ID, its heads, as many as an event - may name (64), the earliest taken first (what a new event builds on), and how many + may name (64), the earliest taken first, one holding the current version among + them, and with `party` one holding that party's last write, key set or node list + (what a new event builds on), and how many events it took after its checkpoint, as this node reads it now; the event it stopped at, if any (`stopped`: a version event writing a version that passed, which this continuum doesn't read), why, and how many events it holds back since, @@ -1466,6 +1468,12 @@ paths: number, its ID, the feature it adds and what that adds (none for the base revision), and as people read it (`named`): a version naming another, this node can't read. + parameters: + - name: party + in: query + description: A party whose next event the heads are for. One holding its last write, key set or node list is among them, so that its next has it in its history where the store holds more heads than an event names. + schema: + type: string responses: '200': description: The store. -- cgit v1.3.1