diff options
| author | tv <tv@krebsco.de> | 2026-11-16 17:55:32 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 19:07:32 +0100 |
| commit | d61ebc07db70d9f03b1d74b03712cea9310b05a7 (patch) | |
| tree | c6ac56c0c73af34b55918ddd53c147ab0a6345da /docs/remakes.md | |
| parent | b9da1b6b9a43dc4bfe1a6f99ea73342cf23c028c (diff) | |
federation: events and checkpoints as bytes, and a harness that signs them
`Event::read` reads an event and says what makes one none (`docs/federation.md`,
Events): bytes that aren't the JCS of the JSON they read as, larger than 256 KiB, with
no dependency or more than 64, not ascending, or a field missing or more; and of a
signed event, a party that is no party's name, a key or signature that doesn't read back
to itself or doesn't hold, a path, key set, node list or vote spelled otherwise. A
proposal is taken whatever it holds, named by its hash; a version event names a hash.
`Checkpoint` reads and writes `{"at", "keeps", "version"}`, a root among them, which is
no event.
The tests' harness (`docs/federation-tests.md`, The harness) makes parties with keys
from seeds, signs each kind of event as the design says, and spells versions out.
Diffstat (limited to 'docs/remakes.md')
0 files changed, 0 insertions, 0 deletions
