aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/kind.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 22:25:31 +0000
committertv <tv@krebsco.de>2026-11-16 23:32:50 +0100
commitc77f4a88dfd0f4ed423951da6535244aea4a0fa1 (patch)
treea50e0fae72f2cb2184cfa4c143e077c8c6866bfe /src/remake/kind.rs
parent023bc8ca4e571b6eb2095b8f1f34ea4363452db9 (diff)
node: votes it casts by itself, for its party
A node may vote and propose for its party by itself, by its operator's rules (`docs/federation.md`, Votes a node casts by itself; `federation::vote`): * `--store-vote-key`: the party's key it signs with, an OpenSSH private key file, one the party's version names, kept on the node; * `--store-vote-record`: its party's one record of its votes, which it votes by, written before each vote is sent, begun where there is none on the version current then; * `--store-follow`, `--store-follow-any`: the parties it follows, by default only on a version that only moves to a checkpoint; * `--store-propose-events`, `--store-propose-every`: when it proposes a checkpoint, once it holds so many events beyond its checkpoint, or so long after its store moved there; * `--store-held-for` (10 minutes): how long it holds an event before it holds it for a while, for the heads it proposes and the voters' rule. Its store keeps when, by the node's own clock, it took each event, and when it moved to its checkpoint. Whenever the worker reads the store, the node decides what to sign (`Holding::act`), records it, writes the record, offers it to its store, and puts it into the document (`held::write`). A vote by hand through the node, by the record and the voters' rule, is `Holding::vote_by_hand`.
Diffstat (limited to 'src/remake/kind.rs')
0 files changed, 0 insertions, 0 deletions