From 602718835d034ef0a96c8ca29e47f06ce37008dc Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 16:21:02 +0000 Subject: events: what moving to a proposed checkpoint refuses, shown federation.md, and row 68, said a node shows, for a proposed checkpoint, what it holds that its heads lack; no node did. `GET /events/counts` now shows, of each proposal whose version names a checkpoint, the writes, key sets and node lists the node took that moving there refuses (`beside`; null for another version): neither among its heads, in their history, nor above them, as the move has it, which their parties sign again. Proposals and votes lapse with the move, and merge events count for nothing: they are left out. `Store::beside` finds them in one pass, as the move itself does: the two share `Store::above`, which the move computed inline. --- docs/openapi.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docs/openapi.yaml') diff --git a/docs/openapi.yaml b/docs/openapi.yaml index b5e7b14..a64c739 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1566,8 +1566,11 @@ paths: none changing the current one, or one naming the heads of the current one's checkpoint, as this node reads it, or no event proposing it is above the heads it names: one that passed all the same is never written, - or, no version here, this node stops at its version event. A passed proposal is - written at once, and lapses with the rest. + or, no version here, this node stops at its version event; and, of a version + naming a checkpoint, the IDs of the writes, key sets and node lists this node took + that moving there refuses, as they are neither among its heads, in their + history, nor above them, and their parties sign again (`beside`; null for + another version). A passed proposal is written at once, and lapses with the rest. responses: '200': description: What counts. @@ -1611,7 +1614,7 @@ paths: type: object additionalProperties: type: object - required: [proposals, votes, yes, no, passed, dead, none] + required: [proposals, votes, yes, no, passed, dead, none, beside] properties: proposals: type: array @@ -1635,6 +1638,10 @@ paths: type: boolean none: type: [string, 'null'] + beside: + type: [array, 'null'] + items: + type: string '404': $ref: '#/components/responses/Error' /events/refused: -- cgit v1.3.1