aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 822f214..05eef1a 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -180,6 +180,9 @@ pub(crate) struct AppState {
/// the one it was given (`--genesis-root`).
pub(crate) roots: Arc<std::sync::Mutex<crate::swarm::roots::Roots>>,
pub(crate) genesis_root: Option<crate::document::ChangeHash>,
+ /// The store it holds, where its swarm holds one (`federation::held`).
+ #[cfg(feature = "federation")]
+ pub(crate) holding: Arc<crate::federation::held::Holding>,
/// Whose signature on a strict remake's manifest this node takes (`access::strict`).
pub(crate) strict_keys: Arc<Vec<crate::access::sshsig::PublicKey>>,
/// Origins whose pages may call this node's open endpoints (`api::cors`).