aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 15:34:56 +0000
committertv <tv@krebsco.de>2026-11-25 15:34:56 +0000
commit2c9be74e184e0d942f03a8f1b549bdd7317e2dbd (patch)
tree52170b9d4d3ba7dd1a9cb4db01830b84b38bf40b /docs
parente22f2e5c38baa1866793338fc7abde8c8e53b635 (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/openapi.yaml10
1 files changed, 9 insertions, 1 deletions
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.