From 4c6604db27f26998b72fd815b6bd1de5a3b08780 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 00:56:24 +0100 Subject: own tree shape --- docs/openapi.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'docs/openapi.yaml') diff --git a/docs/openapi.yaml b/docs/openapi.yaml index a1b9969..3d74746 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -2069,7 +2069,7 @@ components: oneOf: - type: 'null' - type: object - required: [members, reachable, stable, neighbours, stableNeighbours] + required: [members, reachable, stable, neighbours, stableNeighbours, ownTree] properties: members: type: integer @@ -2083,6 +2083,24 @@ components: type: integer stableNeighbours: type: integer + ownTree: + description: This node's own writer's tree; null while it isn't in the member list's graph. + oneOf: + - type: 'null' + - type: object + required: [members, depth, meanDepth, offTree] + properties: + members: + type: integer + description: Other members in it. + depth: + type: integer + description: The most hops along it to one of them. + meanDepth: + type: number + offTree: + type: integer + description: Members it doesn't reach; they get this node's writes by announcement. stability: type: object required: [tier, connectedFraction, observedSecs] -- cgit v1.3.1