From 10f4e55b1c7d88eef1454ea02488de239489789b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 03:04:13 +0000 Subject: 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. --- src/transport/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index ee63988..6fe17eb 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -271,7 +271,7 @@ pub(crate) struct Speaks { pub(crate) revision: Option<[u8; 32]>, } -/// REFUSALS: changes the sender refused by the swarm's rules (`access::screen`), of +/// REFUSALS: changes the sender refused by the swarm's rules (`document::screen`), of /// those the recipient brought it: the recipient judges them itself, and rejoins if its /// own rules refuse them too, as it took them under another policy (`swarm::refusals`). #[derive(Debug, Clone, Serialize, Deserialize)] -- cgit v1.3.1