From 7d91c37ec1c606f70ec7a90ce9be4b0aa5c518c4 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 13:50:25 +0000 Subject: peers: what each peer said it speaks and knows, in GET /peers GET /peers shows, of each peer, what it said with its handshakes (SPEAKS): its `knows`, the wire versions it speaks, the oldest and the newest, and the newest revision of the federation it knows; null where it said nothing, a build from before SPEAKS or no handshake from it since the node started. `localKnows` is the node's own. So every swarm, federated or not, shows which builds its nodes run, as far as each heard. `swarm::speaking::shown` shapes it, for GET /events/counts too, whose `knows` is the same; docs/openapi.yaml has it once, as `Knows`. Without the federation feature, a revision reads as one this continuum doesn't know. `Speaking::of` is now used in every build, not only federated ones, which warned of it as dead code. --- docs/peers.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/peers.md') diff --git a/docs/peers.md b/docs/peers.md index d2f822f..34023db 100644 --- a/docs/peers.md +++ b/docs/peers.md @@ -99,10 +99,11 @@ Before each HELLO and each HELLO_REPLY, a node sends SPEAKS: the wire versions i and the newest revision of the federation it knows, as its build has them. It stands outside the wire versions, laid out as no build changes, so that a peer on another build reads it too, once that peer reads the node's WHO and ME -([Node IDs and addresses](#node-ids-and-addresses)): what each peer said shows in `knows` -of `GET /events/counts`, for the nodes a federated store's parties list. A build from -before SPEAKS takes it for a message of another wire version, and logs that once of the -peer ([`operations.md`](operations.md), [Upgrading](operations.md#upgrading)). +([Node IDs and addresses](#node-ids-and-addresses)): what each peer said shows as its +`knows` in `GET /peers`, the node's own as `localKnows`, and in `GET /events/counts` for +the nodes a federated store's parties list. A build from before SPEAKS takes it for a +message of another wire version, and logs that once of the peer +([`operations.md`](operations.md), [Upgrading](operations.md#upgrading)). Every HELLO carries a random id of the sender's current run, and the HELLO_REPLY echoes it. A reply with another id answers a HELLO from an earlier run (delivered late, or -- cgit v1.3.1