diff options
| author | tv <tv@krebsco.de> | 2026-11-25 15:27:53 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 15:27:53 +0000 |
| commit | e22f2e5c38baa1866793338fc7abde8c8e53b635 (patch) | |
| tree | f6e7225e05bc35467b638416fa8487d538d02fed /docs/guides/federation/running-a-node.md | |
| parent | 46fc2ab070b5f8d3cd6c8bd0d6bd15c624a061e5 (diff) | |
continuum-party vote: asks its node first whether a true is taken
A party's client recorded its vote, sent it, and only warned where its
node refused it: a true every node refuses, its party's earlier one not
dead where it builds, stayed in the record and bound the party, though no
node held it. Taking it back out on the node's word would let a node that
lies have its party vote twice.
So it asks before it signs: POST /events/back names the party, the
proposal and the events the vote would build on, and a node answers by
what it asks itself before it casts one (vote::takes_true). Nothing
signed is sent, so a node gets nothing it could pass on. Told it isn't
taken, the client casts and records nothing; a node that doesn't answer,
one before this, it says so of, and goes on as it did.
Diffstat (limited to 'docs/guides/federation/running-a-node.md')
| -rw-r--r-- | docs/guides/federation/running-a-node.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/guides/federation/running-a-node.md b/docs/guides/federation/running-a-node.md index 164c00d..27ee3a0 100644 --- a/docs/guides/federation/running-a-node.md +++ b/docs/guides/federation/running-a-node.md @@ -66,7 +66,8 @@ alone, so that a party listing many nodes can't be all of a node's neighbours. there is no user registry. Its users are its operators, and may do everything at it: put events, read, have it drop what it took and take it back, vote through it, make a fork's root. Those named in `--store-readers` read the federation and do nothing - else: `GET` of the events API below, and checking a fork (`POST /events/fork`), but + else: `GET` of the events API below, checking a fork (`POST /events/fork`) and asking + whether a `true` is taken (`POST /events/back`), but nothing of the document (`/store`, `/stream`), the node (`/peers`, `/admin/…`), nor what an operator does to the store (`/admin/events/…`): for an application, or someone watching, that needn't act for the node. A token is taken by the node that @@ -85,7 +86,8 @@ alone, so that a party listing many nodes can't be all of a node's neighbours. checkpoint, its heads, how many events it took, the node's party, and whether it votes for it by itself), `POST /events` (an event, whoever signed it), `GET /events/{id}`, `GET /events/counts` (what counts), `GET /events/refused` (what the store refused, and - why), `POST /events/fork` (what the node finds of a fork's root); and its operator's: + why), `POST /events/fork` (what the node finds of a fork's root), `POST /events/back` + (whether it takes a `true` a party is about to cast); and its operator's: `POST /admin/events/drop`, `/admin/events/allow`, `/admin/events/vote`, `/admin/events/fork`. Each answers `404` while the node holds no store. * **The store API** (`/store`) reads the document, where events are bytes at |
