aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/stats.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 03:04:13 +0000
committertv <tv@krebsco.de>2026-11-29 03:04:13 +0000
commit10f4e55b1c7d88eef1454ea02488de239489789b (patch)
tree68d698c7fd0874cbf55318040c48b2024bf98e22 /src/api/stats.rs
parent2b4e99e1ed273da0f921eaec3e52300480acdf0a (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/api/stats.rs')
-rw-r--r--src/api/stats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/stats.rs b/src/api/stats.rs
index 37a7447..a5fe0d8 100644
--- a/src/api/stats.rs
+++ b/src/api/stats.rs
@@ -131,7 +131,7 @@ struct SyncStats {
/// Peers whose heads differ from ours while sync is idle (`peers.md`, healing).
diverged_peers: usize,
/// Peers refused as a whole, their own changes having broken the swarm's rules
- /// (`access::screen`): sent nothing.
+ /// (`document::screen`): sent nothing.
refused_peers: usize,
/// Changes peers say the swarm's rules refuse, which this node took unjudged and its
/// rules refuse too, whose drop takes much: held for a second member to say so