aboutsummaryrefslogtreecommitdiffstats
path: root/src/federation/fork.rs
Commit message (Collapse)AuthorAgeFilesLines
* federation: a fork's root made, and checked by a node holding its historytv19 hours1-0/+162
`federation::fork`: a node holding a federation's history makes the root of a fork at heads it holds by a version, with the events the root keeps, as the file the fork's founders start its swarm from (`make`, `root_file`, which `--store-root` reads); and checks a fork's root it is given (`check`): whether it builds that root at its heads, byte for byte, what it holds that those heads lack, and, party by party, the keys the fork's version gives where they aren't those the party had there. The attack rows 35 and 36 have their tests.