diff options
| author | tv <tv@krebsco.de> | 2026-11-17 16:10:34 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 17:14:22 +0100 |
| commit | 1ed4ccdb0cd3a9407b6101b1bc595df2a451a18d (patch) | |
| tree | d75459a0844e3be3d9f646af66fe0ab60586b526 /docs/guides/federation/writing-and-reading.md | |
| parent | 2f78f51a4cd779e0ab989057727995f7bccf75ab (diff) | |
events: counts names who voted what, and whether a proposal passed or is dead
`GET /events/counts` gives each proposal on the current version the parties voting
`true` and `false` (`yes`, `no`), whether it passed and whether it is dead (`passed`,
`dead`), as the node reads its votes (`State::tally`, which the fold judges by too), so
that reading where a vote stands takes no fetch of every vote. A party's client still
decides its votes by the votes it checks itself.
Diffstat (limited to 'docs/guides/federation/writing-and-reading.md')
| -rw-r--r-- | docs/guides/federation/writing-and-reading.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/guides/federation/writing-and-reading.md b/docs/guides/federation/writing-and-reading.md index 0e6865c..a9e0c5a 100644 --- a/docs/guides/federation/writing-and-reading.md +++ b/docs/guides/federation/writing-and-reading.md @@ -97,7 +97,8 @@ Votes and proposals aren't signed again: their version is behind. * `values`: each place holding a value, with it; * `members`: each node of the swarm, with its party, `[node, party]`; * `proposals`: the proposals on the current version, by hash, each with the events - proposing it and the votes on it ([`proposing-and-voting.md`](proposing-and-voting.md)). + proposing it, the votes on it, the parties voting `true` and `false`, and whether it + passed and whether it is dead ([`proposing-and-voting.md`](proposing-and-voting.md)). `GET /events/{id}` is an event's bytes, as its party signed them: anyone can check its signature, an SSH signature over its bytes without `sig` (namespace |
