aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/reach.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 18:11:25 +0000
committertv <tv@krebsco.de>2026-11-16 19:18:22 +0100
commit0b011438496d3f9245033d1ebb58a4cbebd88f00 (patch)
treec923149e7075430a274db2039d00fdfd403942e0 /src/simtest/reach.rs
parent0231b7732b8c005e956a5b112c0e4fdddc38429e (diff)
federation: a test for each attack marked unit
Each row of `docs/federation.md`'s attacks marked unit that the fold and the store in memory answer has its test, named by its row (`federation_attack_12`), with events made for it by the harness: keys that aren't their party's, bytes that are none, events of another federation or a fork, writes where a party held or holds no place, key sets and keys stolen or dropped, votes cast twice, at once, split, or at a history from before, versions that are none or written again late, two versions changing one in every order, forks and roots, checkpoints, events not above their heads, and heads a version may not name. `every_row_marked_unit_has_its_test` reads the table and this file, and checks that every row marked unit has its test, or waits for a later stage (what a node, a party's client or a tool does, and what a node tells of a fork), and that no test names a row that isn't there.
Diffstat (limited to 'src/simtest/reach.rs')
0 files changed, 0 insertions, 0 deletions