diff options
| author | tv <tv@krebsco.de> | 2026-11-19 13:50:25 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-19 14:53:47 +0100 |
| commit | 7d91c37ec1c606f70ec7a90ce9be4b0aa5c518c4 (patch) | |
| tree | 9116ed3a2fbc69cba32500d2b8b48f85c6d46c51 /docs/peers.md | |
| parent | c1bf987314774d135316d95480baeb6eb7e1dc70 (diff) | |
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.
Diffstat (limited to 'docs/peers.md')
| -rw-r--r-- | docs/peers.md | 9 |
1 files changed, 5 insertions, 4 deletions
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 |
