From 51ad13145e729142e0ee11ace42aa6f55533c710 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 30 Nov 2026 18:24:23 +0000 Subject: 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. --- docs/development.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/development.md') 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 -- cgit v1.3.1