diff options
| author | tv <tv@krebsco.de> | 2026-11-15 01:01:09 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-15 01:01:09 +0000 |
| commit | 22940ca24fb736f43ddc6d6fb9a4b8b0ee638ee8 (patch) | |
| tree | 00fdc470d70acd695fb9eeb1fd17710289e7b68a /src/document/inspect.rs | |
| parent | 4a970edb2077dda40f41b61d354eedb91d6139f4 (diff) | |
federation: rewritten around a policy its voters change
The design is rewritten from the start, around what it is for: handing
out identifiers and giving every party a namespace everyone reads.
A party is a voter. The policy is a chain of versions: the voters and
their keys, the kinds of shared identifiers and who holds each, and
the numbers. A proposal changes one version, and becomes current once
two thirds of that version's voters voted for it; a vote is never
replaced, and one voter's two votes at once count for neither, so at
most one proposal changes a version and every node that holds the
same votes reads the same policy. Identifiers are given, taken back
and given again by versions, never first come; nothing waits on time.
A change is judged at its history by the version current there; what
counts is read by the version current in the document. A stolen key
is replaced by its party, or by a version. Remakes start the document
anew for Automerge's sake only: acks by voter, a majority of them; the
snapshot holds what counts; every envelope after the base is judged
again, within a replay window counted in epochs. Any group forks with
the version it wants, and nodes follow by their own rule, which may
name parties to follow and vote with.
Gone: roots, vouching and lines, claims and witnesses, lengths of
time, cuts, floors, branches, switch records, and the catalogue of
attacks.
Diffstat (limited to 'src/document/inspect.rs')
0 files changed, 0 insertions, 0 deletions
