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/state/peer.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/state/peer.rs')
| -rw-r--r-- | src/state/peer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/peer.rs b/src/state/peer.rs index 88cbb58..721a754 100644 --- a/src/state/peer.rs +++ b/src/state/peer.rs @@ -141,7 +141,7 @@ pub(crate) struct PeerState { pub(crate) epoch_seq: Option<u32>, /// The peer's run, from its HELLO or HELLO_REPLY: a new one starts `epoch_seq` over. pub(crate) run_id: Option<crate::transport::RunId>, - /// While we refuse the peer as a whole (`access::screen`): its run and `epoch_seq` + /// While we refuse the peer as a whole (`document::screen`): its run and `epoch_seq` /// when we began to. Another means it has another document since (it dropped what /// we refused, `swarm::refusals`, or rejoined): we sync with it again. pub(crate) refused_with: Option<(Option<crate::transport::RunId>, Option<u32>)>, |
