diff options
| author | tv <tv@krebsco.de> | 2026-11-15 16:55:07 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-15 16:55:07 +0000 |
| commit | 802a590ac477124c39068cd7caf094a919a2dc5d (patch) | |
| tree | 5cfa069ca5425ec84914c965d2a59180dcb78a30 /src/api/users.rs | |
| parent | 44e9b3920111ae47f116d893b1872bf3e07eab3f (diff) | |
federation: versions in the meta, the longest chain, leaving by forking
Every envelope's meta names the version current where it was written, and a
place's value goes by version number, then seq, then digest: what is signed
under a later version is ahead of any chain written at a history from before
it, by a former holder or a dropped key. Only a version revokes a key; the
change writing a version writes the keys it sets.
The current version is the end of the longest chain of written versions, a
tie decided by the lower hash where they part: a version written late beside
one the parties went on from changes nothing. A party that voted twice shows
by its two signed votes, which nodes report and clients keep; taking it out
is a version.
Votes count by the keys at their own history and go only with their version.
Becoming federated is closed by the rule continuum keeps for a swarm turned
strict; leaving is a fork. A fork's genesis holds only the group's version,
numbered past the highest, and is the new swarm's name. Any envelope deleted
can be put back; the first-envelope rule goes. Replay is continuum's chain
replay, with versions in the order written. The attack table gains the rows
these open.
Diffstat (limited to 'src/api/users.rs')
0 files changed, 0 insertions, 0 deletions
