diff options
| author | tv <tv@krebsco.de> | 2026-11-29 03:04:13 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-29 03:04:13 +0000 |
| commit | 10f4e55b1c7d88eef1454ea02488de239489789b (patch) | |
| tree | 68d698c7fd0874cbf55318040c48b2024bf98e22 /src/document/signatures.rs | |
| parent | 2b4e99e1ed273da0f921eaec3e52300480acdf0a (diff) | |
document: screening what is received is the document's, the rules access control's
access::screen becomes document::screen: reading received bytes as
changes, putting them in order, keeping those that wait or are refused,
vouching by signatures and applying is all Automerge's shape, and has
each change judged by the rules (access::rules) before it applies it.
Diffstat (limited to 'src/document/signatures.rs')
| -rw-r--r-- | src/document/signatures.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/document/signatures.rs b/src/document/signatures.rs index f9dd94b..4908041 100644 --- a/src/document/signatures.rs +++ b/src/document/signatures.rs @@ -6,7 +6,7 @@ //! dependencies, and a node's change builds on its previous one, so a signed change of //! an actor vouches for the changes of that actor it builds on: in the document, all //! up to it (`check`: the actor and seq it verifies up to); received, not in it yet, -//! those among them it builds on (`access::screen`). Only those: anyone can make a +//! those among them it builds on (`document::screen`). Only those: anyone can make a //! change under any actor, and one at a seq whose change the document holds is a fork //! (`forks`). So not every change needs one: a change is signed when it //! touches protocol data (`_continuum`) or a path the swarm lists as signed @@ -512,7 +512,7 @@ impl Signatures { /// Received signatures waiting for their changes (`offer`) checked against /// `changes`, not in the document yet, each made by its committer (`committers`, as - /// `access::screen` finds them): one valid vouches for its actor's changes up to it, + /// `document::screen` finds them): one valid vouches for its actor's changes up to it, /// these among them. Past `MAX_INVALID` found invalid, the rest are dropped /// unchecked. pub(crate) fn vouch_batch(&mut self, changes: &[super::Change], committers: &[Option<String>]) { |
