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/simtest/bench.rs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/simtest/bench.rs') diff --git a/src/simtest/bench.rs b/src/simtest/bench.rs index f8d8123..04b2eb6 100644 --- a/src/simtest/bench.rs +++ b/src/simtest/bench.rs @@ -491,7 +491,7 @@ impl Totals { } /// The kinds, in the order of the report. -const KINDS: [&str; 12] = [ +const KINDS: [&str; 11] = [ "SYNC", "STATUS", "STATUS_REPLY", @@ -500,13 +500,12 @@ const KINDS: [&str; 12] = [ "HELLO_REPLY", "PING/PONG", "WHO/ME", - "LINKS", "PROBE", "PRUNE/GRAFT", "NEIGHBOUR", ]; -fn counters(by: &ByKind) -> [Counter; 12] { +fn counters(by: &ByKind) -> [Counter; 11] { [ by.sync, by.status, @@ -516,14 +515,13 @@ fn counters(by: &ByKind) -> [Counter; 12] { by.hello_reply, by.paths, by.identity, - by.links, by.probe, by.plumtree, by.hyparview, ] } -fn counters_mut(by: &mut ByKind) -> [&mut Counter; 12] { +fn counters_mut(by: &mut ByKind) -> [&mut Counter; 11] { [ &mut by.sync, &mut by.status, @@ -533,7 +531,6 @@ fn counters_mut(by: &mut ByKind) -> [&mut Counter; 12] { &mut by.hello_reply, &mut by.paths, &mut by.identity, - &mut by.links, &mut by.probe, &mut by.plumtree, &mut by.hyparview, -- cgit v1.3.1