aboutsummaryrefslogtreecommitdiffstats
path: root/src/state
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-06 05:29:17 +0100
committertv <tv@krebsco.de>2026-11-06 05:29:17 +0100
commit7f2d5be7a5cd4204fe0ec933fe4d99134607e1b3 (patch)
tree49bc403457c64113890e4ca2c16e307d7d8adbc1 /src/state
parent6f51f8ee9624ecb15d9c9ad6656e69056e245e7b (diff)
working links recorded
Diffstat (limited to 'src/state')
-rw-r--r--src/state/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index e127877..d1a32df 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -160,6 +160,8 @@ pub(crate) struct AppState {
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>>,
+ /// Links that differ from our record, and since when (`swarm::working_links`).
+ pub(crate) working_links: Arc<std::sync::Mutex<crate::swarm::working_links::Pending>>,
/// 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