From 03744437a5ffc36fbb5e973a0ddfd6b91945b212 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 01:48:57 +0000 Subject: federation: votes on the events proposing a checkpoint above its heads Anyone could propose a checkpoint's version again, by an event beside its heads. A node voting by itself, and a party's client, built a vote on every event proposing what it voted on, so every vote was beside the heads, and no version event written on them was taken: the checkpoint could never move the store. And the voters' rule refused it once that event was held for a while, as the heads left it out. They vote on the events proposing it that are above the heads it names (`State::proposing`), which `GET /events/counts` lists as `proposals`; where there are none, `none` says so, the node casts nothing and the client says why. The voters' rule leaves proposals and votes aside, as they lapse with the move. Row 70 is tested (`federation_attack_70`). --- docs/guides/federation/voting-by-itself.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'docs/guides/federation/voting-by-itself.md') diff --git a/docs/guides/federation/voting-by-itself.md b/docs/guides/federation/voting-by-itself.md index 300f60c..b88947a 100644 --- a/docs/guides/federation/voting-by-itself.md +++ b/docs/guides/federation/voting-by-itself.md @@ -61,11 +61,13 @@ no version ([`proposing-and-voting.md`](proposing-and-voting.md), [Voting](proposing-and-voting.md#voting)). And, for a version naming a checkpoint, the voters' rule: it backs one only where it changes nothing of the current version but its number, what it changes and its checkpoint, and its heads leave out nothing it held for a -while before it was proposed ([`checkpoints.md`](checkpoints.md), -[Backing one](checkpoints.md#backing-one)). A vote by hand through it keeps to the same. +while before it was proposed, proposals and votes aside +([`checkpoints.md`](checkpoints.md), [Backing one](checkpoints.md#backing-one)). A vote +by hand through it keeps to the same. -It signs its votes on the events proposing what it votes on, and its checkpoint -proposals on its heads, so that a version event may be written on them. +It signs its votes on the events proposing what it votes on, of a checkpoint those above +its heads, and its checkpoint proposals on its heads, so that a version event may be +written on them. ## Watching it -- cgit v1.3.1