aboutsummaryrefslogtreecommitdiffstats
path: root/docs/guides/federation
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guides/federation')
-rw-r--r--docs/guides/federation/checkpoints.md33
-rw-r--r--docs/guides/federation/voting-by-itself.md9
2 files changed, 35 insertions, 7 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
diff --git a/docs/guides/federation/voting-by-itself.md b/docs/guides/federation/voting-by-itself.md
index 175081c..a94a084 100644
--- a/docs/guides/federation/voting-by-itself.md
+++ b/docs/guides/federation/voting-by-itself.md
@@ -10,7 +10,7 @@ proposal. The rules are the design's ([`federation.md`](../../federation.md),
```sh
continuum --store-id 6d1e… --store-party tv … \
--store-vote-key tv.key --store-vote-record tv.record \
- --store-follow lass,makefu --store-nay-beside --store-propose-events 1000
+ --store-follow lass,makefu --store-propose-events 1000
```
* `--store-vote-key`: a key the party's version names, an OpenSSH private key file
@@ -70,9 +70,10 @@ or `POST /admin/events/vote` with `{"proposal": "8d02…", "yes": true}`.
close vote, one key voting twice can pass a rival version at a history from before it,
any time later, which nodes lagging behind or joining from the root may take; a
checkpoint above that version ends that.
-* **`false` beside** (`--store-nay-beside`): where it backs a proposal that can still
- pass, it votes `false` on every other version only moving to a checkpoint, so that of
- two checkpoints proposed at once the other dies, and its backers are free.
+* **No `false` by a rule**: where two checkpoints are proposed at once and neither gets two
+ thirds, their parties end one by hand ([`checkpoints.md`](checkpoints.md),
+ [Two proposed at once](checkpoints.md#two-proposed-at-once)). A `false` a node cast by
+ a rule is one a party it follows could count on, to pass two checkpoints voting twice.
## What it keeps to