aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-17 00:09:59 +0000
committertv <tv@krebsco.de>2026-11-17 01:45:53 +0100
commit41e290716c9ce517597d4b2dec29c8882c36afdb (patch)
tree41ac19e6f9c9ba23448576c906e7a56b32a07517 /src/lib.rs
parentcd47b1fc79893507096d4b6b7e25f47ee8c7cdbb (diff)
federation: a rule voting `false` on a checkpoint proposed beside one a node backs
`--store-nay-beside`, for a node voting by itself: where its party backs a proposal on the current version that can still pass, by its record or by what it votes now, it votes `false` on every other proposal there that only moves to a checkpoint and can still pass, once. So, of two checkpoints proposed at once, the one it doesn't back dies, and its backers are free (`docs/federation.md`, Votes a node casts by itself).
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4ae6657..739f712 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -66,6 +66,7 @@ fn voter(args: &config::Settings) -> Result<Option<federation::held::Voter>> {
rules: federation::vote::Rules {
follow: args.store_follow.clone(),
follow_any: args.store_follow_any,
+ nay_beside: args.store_nay_beside,
propose_events: args.store_propose_events,
propose_every: args.store_propose_every,
held_for: args.store_held_for,