diff options
| author | tv <tv@krebsco.de> | 2026-11-16 22:25:47 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 23:32:53 +0100 |
| commit | 18387cb68094b167a30371b62beda93627c2c467 (patch) | |
| tree | 9320bcdf1b44ca513f0eedb41f55d1b201db83d5 /src/clock.rs | |
| parent | c77f4a88dfd0f4ed423951da6535244aea4a0fa1 (diff) | |
api: a vote by hand, through the node that votes for its party
A party that has a node vote by itself votes by hand only through that node, which
keeps its one record (`docs/federation.md`, Votes a node casts by itself):
`POST /admin/events/vote`, `{"proposal": <hash>, "yes": <bool>}`, by the record and, with
a `true`, by the voters' rule; signed with the party's key the node keeps, recorded, and
put. Refused (`422`) where the record or the rule forbids it, or the node votes for no
party. Putting an event through the API puts it into the document as the node's own
votes are put (`held::write`).
Diffstat (limited to 'src/clock.rs')
0 files changed, 0 insertions, 0 deletions
