diff options
| author | tv <tv@krebsco.de> | 2026-11-20 01:31:09 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-20 02:39:01 +0100 |
| commit | 6e5afca5a795f3bf5da43f20c81fb70216ae12d8 (patch) | |
| tree | 47ae258bd4c66b4c0deb1278c6086eaf7ff869a2 /docs/guides/federation/getting-started.md | |
| parent | 96a733e1ccbf6dab2d69f263d655e487ac54c20d (diff) | |
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.
Diffstat (limited to 'docs/guides/federation/getting-started.md')
| -rw-r--r-- | docs/guides/federation/getting-started.md | 18 |
1 files changed, 11 insertions, 7 deletions
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": "<ID of revision 2>", "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 |
