diff options
| author | tv <tv@krebsco.de> | 2026-11-15 18:52:49 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-15 18:52:49 +0000 |
| commit | fbe98b00c9e98ebad02fe18103ca02bdfe1ed9e5 (patch) | |
| tree | eb899837386d4fffa59a027e2bacdb69f9380bfc /src/node.rs | |
| parent | c8f7165bae7344c0fb0d5265b7736de8ed26d91c (diff) | |
store: values ordered by seq as the policy a read shows says
Whether values are read by `seq` went by whether any value at the
policy's place asks for signed values, not by what the policy reads as.
Where the place holds two, they part: a signed policy that isn't strict
read before a plain one that is, or two maps, the newer not strict. Such
a swarm judged as not strict and read by `seq`.
Now the policy's own place is read by `seq` where any value there asks
for signed values, so an older policy put back beside a strict one
can't undo it; every other place is read by `seq` only where the policy
that read shows is strict (`policy::read`, which `policy::of` reads
with). A swarm whose policy doesn't read as strict reads every place as
Automerge has it.
Diffstat (limited to 'src/node.rs')
0 files changed, 0 insertions, 0 deletions
