aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/state_file.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-08 13:48:01 +0000
committertv <tv@krebsco.de>2026-11-08 15:03:52 +0100
commit40907ae285317eaaf6449ff17d40b58a1a5df665 (patch)
tree0252700cf4b4dfbfb8e2312db26ee1a163ad7e22 /src/swarm/state_file.rs
parent46e6b42278db1a3f51d1f5e1fe887f74ed2b69db (diff)
screen: a signature vouches for its change and what it builds on
Review finding 5: vouching by (actor, seq) isn't bound to a hash. A member can make a change under another member's actor at a seq that member's signature covers. The change is then taken as vouched, and if it breaks a rule, the honest member is refused as a whole and logged as the one whose own change broke the rules. A signature now vouches for its change and the changes of its actor it builds on: in the document, as before; among received changes, those it reaches through the batch's dependencies. A received change under an actor at a seq whose change the document holds (a signature verified up to it) is a fork: refused as forged, never as its actor's node's, not told back in REFUSALS, and logged with the peer that brought it.
Diffstat (limited to 'src/swarm/state_file.rs')
0 files changed, 0 insertions, 0 deletions