From 8c7897b03cb35516b7542544541b98694b40bf6f Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 24 Oct 2026 05:37:20 +0200 Subject: assess swarm stability --- src/state.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs index 9d567a8..769dbad 100644 --- a/src/state.rs +++ b/src/state.rs @@ -542,6 +542,8 @@ pub(crate) struct AppState { /// Target number of neighbours (`--neighbours`); up to this many + 1 members the /// swarm is a full mesh. pub(crate) neighbours_k: usize, + /// Our own connectivity record and stability tier (`swarm::stability`). + pub(crate) stability: Arc>, /// Round-trip times to peers (`swarm::rtt`). pub(crate) rtt: Arc>, /// The neighbour we are pulling changes from, and since when (`swarm::relay`). -- cgit v1.3.1