diff options
| author | tv <tv@krebsco.de> | 2026-11-16 18:43:42 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 20:08:46 +0100 |
| commit | 01a11cb403af0351411fe79deb49269b667bf881 (patch) | |
| tree | b8b2ee5ba1e4b78065c726a058cc853de2f6b883 /src/federation/attacks.rs | |
| parent | cdbfe7e4fb4646a7749d1155d1b784a4ca2a99c2 (diff) | |
federation: the model, a second reading of the federation
The model (`docs/federation-tests.md`, The harness) reads the federation as
`docs/federation.md` says, as plainly as it can: every event judged at its history read
anew from the root, the version current there the highest-numbered written one, keys,
key sets, node lists, votes, passing and dead, version events and the heads a version
may name each worked out from that history alone; a node's own, the first of two
versions changing one; and what counts read from everything taken. It keeps nothing but
which events it took, and makes no checkpoint: slow and short, it is what the fold is
checked against. A test takes it through a version passing, offered last event first.
Diffstat (limited to 'src/federation/attacks.rs')
0 files changed, 0 insertions, 0 deletions
