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/api/peers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/peers.rs') diff --git a/src/api/peers.rs b/src/api/peers.rs index 1f7af21..30d1204 100644 --- a/src/api/peers.rs +++ b/src/api/peers.rs @@ -52,7 +52,7 @@ pub(crate) struct PeerStatus { /// between; absent while they match. pub(crate) diverged_for_secs: Option, /// Whether we refuse it as a whole, its own change having broken the swarm's rules - /// (`access::screen`): then we send it nothing. + /// (`document::screen`): then we send it nothing. pub(crate) refused: Option, pub(crate) has_pending_delivery: bool, /// Epoch the peer last advertised; absent until it has sent a message. -- cgit v1.3.1