From 0e03a77bcb1d39f1fbda23d8e704ac40302afb93 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 22:35:10 +0100 Subject: dashboard: without LINKS; LINKS removed The dashboard reads every member's links from the members themselves; LINKS and LINKS_REPLY, swarm::links and their wire tags go (wire version bumped). Nodes the browser can't reach are drawn from what the reachable ones measure. Auth plan M3. --- src/swarm/topology/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/swarm/topology') diff --git a/src/swarm/topology/mod.rs b/src/swarm/topology/mod.rs index c23d2b2..2d812e5 100644 --- a/src/swarm/topology/mod.rs +++ b/src/swarm/topology/mod.rs @@ -530,7 +530,8 @@ pub(crate) async fn reaches(state: &AppState, peer: &str) -> bool { } /// The transports `member` is on, by the member list (the schemes of its addresses); -/// ours as we are on them. None known: empty. +/// ours as we are on them. None known: empty. For the tests. +#[cfg(test)] pub(crate) fn transports_of(state: &AppState, member: &str) -> BTreeSet { let view = state.neighbours.read_or_recover(); match view.as_ref() { -- cgit v1.3.1