diff options
Diffstat (limited to 'src/state/mod.rs')
| -rw-r--r-- | src/state/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs index fef6448..92f7810 100644 --- a/src/state/mod.rs +++ b/src/state/mod.rs @@ -152,6 +152,8 @@ pub(crate) struct AppState { /// 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>>>>, + /// 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`). pub(crate) neighbours: Arc<std::sync::RwLock<Option<crate::swarm::topology::NeighbourView>>>, /// Something the neighbours are computed from may have changed: the member list or a |
