diff options
Diffstat (limited to 'docs/guides/federation/checkpoints.md')
| -rw-r--r-- | docs/guides/federation/checkpoints.md | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/docs/guides/federation/checkpoints.md b/docs/guides/federation/checkpoints.md index f6340b0..072fc80 100644 --- a/docs/guides/federation/checkpoints.md +++ b/docs/guides/federation/checkpoints.md @@ -69,9 +69,36 @@ again. [Its rules](voting-by-itself.md#its-rules)). * `--store-back-after` (ten minutes unless set) has it back none before its store held its checkpoint, or ran, that long. -* `--store-nay-beside` has it vote `false` on every other version only moving to a - checkpoint, where it backs one that can still pass: of two checkpoints proposed at once, - the other dies, and its backers are free. + +## Two proposed at once + +Nodes voting by themselves each propose a random wait after a checkpoint is due, so that +the first proposal reaches the others before they make one of their own. Two can still +come at once: in a cut, or where a party proposes one beside another on purpose. Each +party's one `true` is then on the one its node proposed, or follows. + +Where two thirds back one of them, it passes, every node moves there, and the other +lapses with the move: nothing to do. Where neither gets two thirds, both stay proposed +and their backers stay bound, as a `true` holds its party until its proposal is dead, and +no node votes `false` by a rule: a `false` cast so is one a party it follows could count +on, to pass two checkpoints voting twice. Then the parties end one by hand: + +1. See both, and who backs which: `continuum-party proposals`, or `status`. +2. Agree which one to end. Either moves the store to heads its backers held; `beside` of + each in `GET /events/counts` says what moving there refuses. +3. More than a third of the parties vote `false` on it, none of them a party that backs it, + as none votes `true` and `false` on one proposal: + + ```sh + continuum-party vote 8d02… no # by its client + continuum-party vote 8d02… no --through # a party whose node votes for it + ``` + +4. It is dead. Its backers are free: their nodes back the other by themselves where they + follow one of its backers, and a party votes `true` on it by hand otherwise. + +A party that backed one may vote `false` on the other, so the backers of one, where they +are more than a third of the parties, end the other by themselves. ## After a move |
