aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-14 05:52:41 +0000
committertv <tv@krebsco.de>2026-11-14 05:52:41 +0000
commit24464b6eb67161c7b861e4ab9f8dd84d27ac38d3 (patch)
tree37a512c94660e6dea1916fe838ea18237ecb6cad /src/simtest/mod.rs
parent32236bdad06ab6992dbc1f5dbe7aa44e3520e61e (diff)
federation: a moved-in user's first keys come from the root named for it
The root change names, for each user it holds without keys, the root that gives them; no other root's `create` gives keys. Two roots' creations no longer compete, so a contest arises only where that root signs two: they are ordered as claims are, with the other roots' nodes alone as witnesses, so a twin on old dependencies is late for good once another root's node saw the first. Which creation gives the keys is read over all the changes, as which claim holds a name is, and no longer where each statement was signed: read there, a twin was the only creation at whatever place its maker crafted, and its keys signed as the user. While two contest, nothing signed with the keys of either counts, until the voters give first keys; what the keys they give signed counts then. A decision on the roots that leaves a root out says which root gives the keys it was named to give.
Diffstat (limited to 'src/simtest/mod.rs')
0 files changed, 0 insertions, 0 deletions