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.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index 92f7810..57dab7d 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -149,9 +149,10 @@ pub(crate) struct AppState {
pub(crate) throughput: Arc<std::sync::Mutex<ThroughputTable>>,
/// Pulls of changes from neighbours (`swarm::relay`).
pub(crate) pulling: Arc<std::sync::Mutex<crate::swarm::relay::Pulling>>,
- /// An announcement round is scheduled, for changes from these peers
- /// (`swarm::relay`).
- pub(crate) announce_pending: Arc<std::sync::Mutex<Option<std::collections::HashSet<String>>>>,
+ /// An announcement round is scheduled (`swarm::relay`).
+ pub(crate) announce_pending: Arc<std::sync::Mutex<Option<crate::swarm::relay::Pending>>>,
+ /// Distances in writers' trees (`swarm::tree`).
+ pub(crate) trees: Arc<std::sync::Mutex<crate::swarm::tree::Trees>>,
/// Whom we reach, as told our neighbours (`swarm::reach`).
pub(crate) reach: Arc<std::sync::Mutex<crate::swarm::reach::Reach>>,
/// Our neighbours, once known (`swarm::topology`).