From 6e5afca5a795f3bf5da43f20c81fb70216ae12d8 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 Nov 2026 01:31:09 +0000 Subject: continuum-party: found by a name, propose name, the name in status `found` takes the federation's name (`--name`, required), and founds at revision 2, the first that gives one, unless `--revision` names a later one; one naming an earlier is an error. `propose name NAME` (and `fork name`) names the federation anew, the next version following revision 2 too where the current one doesn't, which the preview says. `status` says the name its current version gives beside the store's ID. --- docs/guides/federation/getting-started.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'docs/guides/federation/getting-started.md') diff --git a/docs/guides/federation/getting-started.md b/docs/guides/federation/getting-started.md index c2e1bc6..fa81c94 100644 --- a/docs/guides/federation/getting-started.md +++ b/docs/guides/federation/getting-started.md @@ -49,17 +49,18 @@ printf '%s' 'secret' | argon2 "$(openssl rand -hex 16)" -id -e | sed 's/^/tv:/' ## The first version The founders agree on the first version, as a file. `continuum-party found` writes it -from each party's keys (`PARTY=` an `authorized_keys` line, or a file of them), its node -list, and the rules in order (`--rule PATH=WRITER`), each party writing in its namespace -where no rule is given: +from the federation's name (`--name`), each party's keys (`PARTY=` an `authorized_keys` +line, or a file of them), its node list, and the rules in order (`--rule PATH=WRITER`), +each party writing in its namespace where no rule is given: ```sh -continuum-party found tv=tv.key.pub lass=lass.key.pub \ +continuum-party found --name krebs tv=tv.key.pub lass=lass.key.pub \ --nodes tv=continuum:5be1… --nodes lass=continuum:9c07… > first.json ``` ```json -{ "federation": 1, "number": 0, "changes": null, +{ "federation": 1, "number": 0, "changes": null, "name": "krebs", + "revision": "", "keys": { "tv": { "since": 0, "keys": ["ssh-ed25519 AAAA…"] }, "lass": { "since": 0, "keys": ["ssh-ed25519 AAAA…"] } }, "nodes": { "tv": { "since": 0, "nodes": ["continuum:5be1…"] }, @@ -68,8 +69,11 @@ continuum-party found tv=tv.key.pub lass=lass.key.pub \ ``` Each party writes in its namespace (`home/tv/…`), and nowhere else: no other rule gives -a place. Every change of the version takes two thirds of its parties: of two, both. -`--revision FEATURE` starts it on a later revision of the federation +a place. Every change of the version takes two thirds of its parties: of two, both. The +name is in the root, so a rehearsal named otherwise (`krebs-test`) is another federation, +though its parties, keys, nodes and rules are the same; a later version renames it, which +changes what it is called, not which it is. It follows revision 2 of the federation, the +first that gives a name; `--revision FEATURE` starts it on a later one ([`upgrades.md`](upgrades.md)). ## The root -- cgit v1.3.1