diff options
| author | tv <tv@krebsco.de> | 2026-11-19 16:21:02 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-19 17:36:20 +0100 |
| commit | 602718835d034ef0a96c8ca29e47f06ce37008dc (patch) | |
| tree | 99a1ffbf50a4f59b3a5078dafa8c0cb3d192632c /docs/openapi.yaml | |
| parent | 9784111bd3b95be5352669b74e174920c101f349 (diff) | |
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.
Diffstat (limited to 'docs/openapi.yaml')
| -rw-r--r-- | docs/openapi.yaml | 13 |
1 files changed, 10 insertions, 3 deletions
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: |
