aboutsummaryrefslogtreecommitdiffstats
path: root/src/federation
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-17 00:34:13 +0000
committertv <tv@krebsco.de>2026-11-17 01:47:54 +0100
commitf0f8c1147715b28568e9e19026f5ef7d9f5092ce (patch)
treea9c1359dbfc9bf03754b4e419c5e681b92c85bce /src/federation
parentb79ac0fb88ad6604a87d2e72010b6a9a1a4d6fd8 (diff)
simtest: a fork whose root doesn't read as its heads do, found by who holds them
`federation_attack_33`: beside the fork a node holding the history makes, one whose root leaves out tv's write, which counts at its heads. b, holding the history, builds the one and not the other (`fork::check`). Each fork's founder starts its swarm from its root and the events it keeps, and a node of lass joins each by its ID, taking it on its operator's word, and reads what the root keeps: tv's write in the one, carried by the changes founding its swarm, nothing in the other.
Diffstat (limited to 'src/federation')
-rw-r--r--src/federation/attacks.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/federation/attacks.rs b/src/federation/attacks.rs
index e1d2936..d153f22 100644
--- a/src/federation/attacks.rs
+++ b/src/federation/attacks.rs
@@ -12,9 +12,8 @@ use super::store::memory::{Offered, Refusal, Store};
use super::store::{Fold, Id};
use super::version::Version;
-/// Rows whose tests wait: what a node, a party's client or a tool does (stage 3), a fork
-/// whose root differs, simulated (stage 4), and flooding.
-const LATER: &[u32] = &[30, 33, 39, 45, 51, 58, 63, 65, 68];
+/// Rows whose tests wait: what a node, a party's client or a tool does, and flooding.
+const LATER: &[u32] = &[30, 39, 45, 51, 58, 63, 65, 68];
fn tv() -> Party {
Party::new("tv", 1)