aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake/mod.rs')
-rw-r--r--src/remake/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/remake/mod.rs b/src/remake/mod.rs
index 9891760..bd814da 100644
--- a/src/remake/mod.rs
+++ b/src/remake/mod.rs
@@ -212,6 +212,11 @@ pub(crate) trait Host: Clone + Send + Sync + 'static {
/// This node's ID (its peers know it by this).
fn node_id(&self) -> String;
+ /// What this node holds of its store, where its swarm holds one
+ /// (`federation::held`).
+ #[cfg(feature = "federation")]
+ fn holding(&self) -> Arc<crate::federation::held::Holding>;
+
/// The epoch of the local replica.
fn current_epoch(&self) -> Epoch;