diff options
| author | tv <tv@krebsco.de> | 2026-11-30 18:24:23 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-30 18:24:23 +0000 |
| commit | 51ad13145e729142e0ee11ace42aa6f55533c710 (patch) | |
| tree | de5e0593fc8ae96fe8fd1123cb996bd0bec77c14 /docs/development.md | |
| parent | ae4c3358e1e216d0a152ad591e04faa106b4cefa (diff) | |
scripts/sets-check: a federation moved to sets of events, in real nodes
Three nodes of two parties over libp2p on loopback: on the Automerge
document, each started again of both kinds, then on its set alone, then
all at once from their sets' files, and a fourth joining with the
store's ID alone. After each start a value written through the party's
client at one node is read at every node, with all written before; no
node logs an error.
Diffstat (limited to 'docs/development.md')
| -rw-r--r-- | docs/development.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/development.md b/docs/development.md index 0e98af2..7a8f7e6 100644 --- a/docs/development.md +++ b/docs/development.md @@ -144,6 +144,15 @@ tag's nodes log this tree's as such, so their operators know to upgrade. scripts/wire-check v0.0.1 ``` +`scripts/sets-check` runs a federation of this tree on this host, over libp2p on +loopback, and moves it from Automerge documents to sets of events as its operators +would ([`operations.md`](operations.md), +[Moving to sets of events](operations.md#moving-to-sets-of-events)): three nodes of +two parties on the document, each started again of both kinds, then on its set alone, +then all at once from their sets' files, and a fourth joining with the store's ID +alone. After each start a value written through the party's client at one node is +read at every node, with all that was written before, and no node logs an error. + A change to the wire format is a new version (`wire::VERSION`) beside the ones the build speaks already: the messages of the version before keep their types, frozen, and are encoded and decoded in `transport/wire.rs` beside the newest's, and `golden_bytes` keeps |
