aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/policy.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 15:16:39 +0000
committertv <tv@krebsco.de>2026-11-16 16:27:05 +0100
commit21f3d35556b2d9cec99f90ca23d5a6ff22b09779 (patch)
treebf4122d6f1dd7230470f5640fb4bd44d16faa3e4 /src/simtest/policy.rs
parenta50c9e13b0017b993bfd4eebebccc57bc8010a7a (diff)
docs/store: forks in the fold, and the bytes of genesis changes
The fold makes a fork's root, from the states at heads of one store or several and what makes the fork; a node checks a fork's root by it. The state carries what judging needs of history, as the federation's carries the graph of its events, and the state is the same for the set a node takes, which its own refusals may make depend on order. The root is taken before the fold sees any event. A genesis change's writer is the first 16 bytes of the root's ID, and a fork's kept events follow its genesis change in changes of up to 1 MiB, in the order of their IDs.
Diffstat (limited to 'src/simtest/policy.rs')
0 files changed, 0 insertions, 0 deletions