From 96d7744dd29a3c783b43a7a6697af7d5d5719a10 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 3 Nov 2026 05:20:59 +0100 Subject: add writer trees --- src/state/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/state/mod.rs') 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>, /// Pulls of changes from neighbours (`swarm::relay`). pub(crate) pulling: Arc>, - /// An announcement round is scheduled, for changes from these peers - /// (`swarm::relay`). - pub(crate) announce_pending: Arc>>>, + /// An announcement round is scheduled (`swarm::relay`). + pub(crate) announce_pending: Arc>>, + /// Distances in writers' trees (`swarm::tree`). + pub(crate) trees: Arc>, /// Whom we reach, as told our neighbours (`swarm::reach`). pub(crate) reach: Arc>, /// Our neighbours, once known (`swarm::topology`). -- cgit v1.3.1