diff options
| author | tv <tv@krebsco.de> | 2026-11-16 17:55:32 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 19:07:20 +0100 |
| commit | b9da1b6b9a43dc4bfe1a6f99ea73342cf23c028c (patch) | |
| tree | 4306802e6650e3037e5a6c4566bbe481dfd965d2 /src/access | |
| parent | bc665e2ad7e107baaf7d7b5d388ef228fc29e527 (diff) | |
federation: versions, their rules, and the paths they match
`Version::read` reads a version by itself, and says what makes one none
(`docs/federation.md`, The policy): a field missing or more but for `checkpoint`,
another federation, a number and `changes` that don't go together, keys and node lists
not of the same parties, a party's name, its keys (one to 16, spelled as keys, none twice
in the version) and its node list (up to 64 node IDs, none twice), checkpoint heads, and
rules (a literal first segment and not `_continuum`, `{party}` once at most, `**` last
only, a writer that is a party of it, `"{party}"` where the path holds `{party}`, or
`false`; a path as a write's may be). `changes_validly` asks whether it changes another:
one past its number, its hash, and each `since` its own number or the other's with the
same keys, or node list. `writer` gives who writes at a path, by the first rule that
matches; `only_moves_on` whether it changes nothing but its number, what it changes and
its checkpoint.
Diffstat (limited to 'src/access')
0 files changed, 0 insertions, 0 deletions
