aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/changes.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-15 16:33:22 +0000
committertv <tv@krebsco.de>2026-11-15 16:33:22 +0000
commitb8c3c1a5adaa2a64fc17bd89a943ccf1ad386373 (patch)
tree3bb9bf2580932cadd3d0eb724d5343c55ff1f0fa /src/document/changes.rs
parentb0d68ad3b99aa06029f30d7dc45455108b52dadc (diff)
store: values ordered by seq only where the policy asks for signed values
The order by `seq` sat in `store::candidates`, which every swarm reads through: in a swarm that isn't strict, a string shaped like an envelope, written at the same time as a plain value or a map, was read first. What a swarm without a strict policy reads must not change for signed values. The order now applies only where the policy asks for signed values (`"values": "signed"`), as any value at the policy's place says, read as written (`signs_values`), so the policy's own reading doesn't go round. Elsewhere `candidates` is newest first, as always. It is looked at only where a place holds several values and one is an envelope.
Diffstat (limited to 'src/document/changes.rs')
0 files changed, 0 insertions, 0 deletions