diff options
| author | tv <tv@krebsco.de> | 2026-11-25 12:30:35 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 12:30:35 +0000 |
| commit | 1a11489d5a66fe397b7ce0ec5a37bb40a6cfc041 (patch) | |
| tree | f81c3a60ca93b2afee718f5041de7de27c6dfcb7 /src/federation | |
| parent | 9c491018933833916d5d72e9185671638cb7e99b (diff) | |
federation.md: row 68 as built, with its test
The row, and Checkpoints, had a party's client back a checkpoint by the
voters' rule, as a node does. A client voting on its own checks no
heads, as the checkpoints guide says: it shows what moving there refuses
before it asks. The rule is the node's, voting by itself or by hand
through it, and covers what it held when it started.
The row's test is the voters' rule's (federation_attack_68, in
vote.rs): it waits no more.
Diffstat (limited to 'src/federation')
| -rw-r--r-- | src/federation/attacks.rs | 4 | ||||
| -rw-r--r-- | src/federation/vote.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/federation/attacks.rs b/src/federation/attacks.rs index 0f280c5..a56db37 100644 --- a/src/federation/attacks.rs +++ b/src/federation/attacks.rs @@ -13,8 +13,8 @@ use super::store::memory::{Offered, Refusal, Store}; use super::store::{Fold, Id}; use super::version::Version; -/// Rows whose tests wait: what a node or a party's client doesn't do yet, and flooding. -const LATER: &[u32] = &[30, 68]; +/// Rows whose tests wait: flooding. +const LATER: &[u32] = &[30]; fn tv() -> Party { Party::new("tv", 1) diff --git a/src/federation/vote.rs b/src/federation/vote.rs index 29ceb10..1cd955d 100644 --- a/src/federation/vote.rs +++ b/src/federation/vote.rs @@ -541,7 +541,7 @@ mod tests { /// clients build on every head they hold, has the heads in its history, and the move /// refuses it all the same. #[test] - fn a_node_backs_no_checkpoint_that_refuses_what_it_held() { + fn federation_attack_68() { let (tv, lass, _, first, mut store) = three(); let root = store.id(); let head = taken( |
