aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-25 12:30:35 +0000
committertv <tv@krebsco.de>2026-11-25 12:30:35 +0000
commit1a11489d5a66fe397b7ce0ec5a37bb40a6cfc041 (patch)
treef81c3a60ca93b2afee718f5041de7de27c6dfcb7 /docs
parent9c491018933833916d5d72e9185671638cb7e99b (diff)
federation.md: row 68 as built, with its test
The row, and Checkpoints, had a party's client back a checkpoint by the voters' rule, as a node does. A client voting on its own checks no heads, as the checkpoints guide says: it shows what moving there refuses before it asks. The rule is the node's, voting by itself or by hand through it, and covers what it held when it started. The row's test is the voters' rule's (federation_attack_68, in vote.rs): it waits no more.
Diffstat (limited to 'docs')
-rw-r--r--docs/federation.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/federation.md b/docs/federation.md
index 52b03c9..d0af71f 100644
--- a/docs/federation.md
+++ b/docs/federation.md
@@ -485,15 +485,17 @@ history alone. As the version naming the current checkpoint is among the next ch
heads or in their history, every later version naming one names heads after those, and a
node starting from a checkpoint holds what judging them reads. A proposer names the heads
it holds as it proposes, so that what was written before is in their history: a node
-lacking one takes the proposal once it holds it. A party's client, and a node voting by
-itself, back a checkpoint only where everything they held for a while before it was
-proposed is among its heads, in their history, or above them, proposals and votes aside,
+lacking one takes the proposal once it holds it. A node voting by itself, and a vote by
+hand through it, back a checkpoint only where everything the node held for a while before
+it was proposed, or held when it started, is among its heads, in their history, or above
+them, proposals and votes aside,
which lapse with the move: a move refuses what isn't above its heads, and heads a proposer
made up, built on little, would take back what was written since, a key set dropping a
stolen key among it. A node shows, for a proposed checkpoint, what its parties signed that
moving there refuses: writes, key sets and node lists it took that are neither among its
heads, in their history, nor above them (`beside` in `GET /events/counts`), which their
-parties sign again. This is the voter's rule, by its own clock: nothing
+parties sign again. A party's client voting on its own checks no heads: it shows that
+before it asks, and its user decides. This is the voter's rule, by its own clock: nothing
more is judged. It is a version only where its proposal is above those heads, and a
version event writing it is taken only where it is above them too, and so is every vote it
is written on ([`store.md`](store.md), [Events](store.md#events)): so moving to the
@@ -827,7 +829,7 @@ yet*: what would answer it better, which isn't built.
| 65 | After a checkpoint, a party that backed a second proposal once its first was dead, the nays that freed it withheld by those who cast them | Not named: its client keeps those nays with its `true` | unit |
| 66 | Two clients of one party back two proposals at once, or its operator votes by hand beside the node that votes for it | Voting twice: a party votes from one client, the node that votes for it where it has one, through which it votes by hand | — |
| 67 | A party keeps a proposal alive that nobody else backs, or two parties of seven or more, to hold back automatic checkpoints | Holds back none past a while: a node proposes a checkpoint beside a proposal it wouldn't back that fewer than a third of the parties back, or nobody but its proposer; a new one holds back for a while, once a version for its proposer | sim |
-| 68 | A checkpoint proposed at heads that leave out what was written since: a key set dropping a stolen key, say | Not backed: clients and nodes back a checkpoint only where what they held for a while is among its heads, in their history, or above them; a node shows what moving there refuses | unit |
+| 68 | A checkpoint proposed at heads that leave out what was written since: a key set dropping a stolen key, say | Not backed by a node voting by itself, nor by a vote by hand through it: only where what it held for a while, or when it started, is among the heads, in their history, or above them. A party's client voting on its own checks no heads: it shows what moving there refuses, as its node does (`beside`), and its user decides | unit |
| 69 | A key a version names, stolen, writes its party's node list at a history from before the version naming the party's keys anew, beside the list the party writes under that version, several, for the lowest ID | The party's counts: of a party's lists, those written under the latest version come first | unit |
| 70 | A checkpoint's version proposed again, by an event beside its heads | Voters back it all the same, as a proposal lapses with the move, and vote on an event proposing it above its heads, as a node shows them; a version event on votes beside them is refused | unit |
| 71 | Merge events under the base revision, signed by a node its party doesn't list, by a party's key, or spelled otherwise | Refused, or none: a merge event is taken only under a revision with merge events, signed by a node its party's node list names, its `merge` `true`; it counts for nothing | unit |