aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/host.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-16 04:11:35 +0000
committertv <tv@krebsco.de>2026-11-16 04:11:35 +0000
commit185fb518c04a048bf02bc3b926149cfeb9af5b4b (patch)
treeeb26f95adbd18fb41975b10947d449300cf5c6f0 /src/state/host.rs
parent61a13f5ba52afcb6bec3534b8d016708c1581a4e (diff)
federation: a place's value among the envelopes their party's keys signed
A place's value was the first of all the envelopes it held, by version, then `seq`, and it counted only while its key was its party's. So a key the party had dropped, by a member committing at a history from before the drop, wrote ahead of the party's envelope, replacing it, with a higher `seq` each time the party wrote again: nothing at the place counted until a version named the party's keys anew. A place's value is the first of the envelopes there that a key their party holds signed; judging, and the envelope a `prev` names, go by all of them as before. And a party signs again what should stay after the set that drops a key, not only before: what the dropped key writes at a history from before can't name that as replaced, and counts no more, so it takes nothing out.
Diffstat (limited to 'src/state/host.rs')
0 files changed, 0 insertions, 0 deletions