aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/wire.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-08 09:33:41 +0000
committertv <tv@krebsco.de>2026-11-08 10:35:31 +0100
commitb758c93a1887ea36b0f52ccd4a6f9824de77d819 (patch)
tree96f7f4ca3007e393b185739a66b0474323b50872 /src/transport/wire.rs
parentaf3869df9ff3a0266857bd7c7534b75b36d04aa5 (diff)
access: an epoch's root is never dropped
A REFUSALS naming the swarm's first change made the node receiving it judge that change again in a document that isn't empty, refuse it as "a change without dependencies that isn't the epoch's root", and drop it with everything built on it: its whole document. The first epoch's root is now the first change a document holds, as it comes to an empty one or as it is in one; a change judged again on a peer's word is never refused for having no dependencies; and drop_taken refuses to drop an epoch's root, or anything that would leave nothing kept, logging an error instead. Review finding 1 (critical).
Diffstat (limited to 'src/transport/wire.rs')
0 files changed, 0 insertions, 0 deletions