From 526f727ec1a5ff6c9d11c754966cf1ae472f21b3 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 16 Nov 2026 18:43:42 +0000 Subject: federation: properties over generated federations Three to five parties write in their namespaces, change their key sets and node lists, propose versions and checkpoints on what they last caught up with, vote, and write the versions that pass; honest ones back one proposal on a version, an adversary votes as it likes and signs as another party with its own key, or where it may not write. Over such histories: * the store judges every event, and reads, as the model does, offered the same events in the same order, with an adversary and without; * what builds on a refused event is refused; * honest parties read the same whatever order the events come in, checkpoints and all; * after a checkpoint, what the store took the model takes, reading the whole history but for what the store refused as not above it, and the two read the same; the version naming the checkpoint is taken; * every version a store takes was backed by two thirds of the parties of the version it changes, in its history; * without a party voting twice, no two versions change one. A failing history is cut down and printed. --- src/federation/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/federation/mod.rs') diff --git a/src/federation/mod.rs b/src/federation/mod.rs index aaa8225..8f6f351 100644 --- a/src/federation/mod.rs +++ b/src/federation/mod.rs @@ -15,5 +15,7 @@ pub(crate) mod jcs; pub(crate) mod keys; #[cfg(test)] mod model; +#[cfg(test)] +mod properties; pub(crate) mod store; pub(crate) mod version; -- cgit v1.3.1