From 1ed4ccdb0cd3a9407b6101b1bc595df2a451a18d Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Nov 2026 16:10:34 +0000 Subject: 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. --- docs/guides/federation/writing-and-reading.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/guides/federation/writing-and-reading.md') 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 -- cgit v1.3.1