diff options
Diffstat (limited to 'src/state/mod.rs')
| -rw-r--r-- | src/state/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs index a812b91..4187654 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -111,6 +111,9 @@ pub(crate) struct AppState { /// Per-node remake state (prebuilt snapshots, switch status, archive). pub(crate) remake: Arc<RemakeState>, + /// The writers this node writes or wrote under in its current document. + pub(crate) own_writers: Arc<crate::document::own::OwnWriters>, + /// Pre-shared key every member must prove in the handshake; None admits any node /// that reaches us. pub(crate) swarm_key: Option<Arc<crate::swarm::auth::SwarmKey>>, |
