aboutsummaryrefslogtreecommitdiffstats
path: root/src/state/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-02 22:05:50 +0100
committertv <tv@krebsco.de>2026-11-02 22:05:50 +0100
commit0db98bca2cca7d5e9e728e4f68ef170aedeff38f (patch)
tree148b2f1f29315b57523e0627bd58265350643856 /src/state/mod.rs
parent9758da34b8da3d93b145e6dc46164ab02f6fb72e (diff)
dashboard: double-click opens peer dashboard
Diffstat (limited to 'src/state/mod.rs')
-rw-r--r--src/state/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/mod.rs b/src/state/mod.rs
index aebc59a..36b1132 100644
--- a/src/state/mod.rs
+++ b/src/state/mod.rs
@@ -107,6 +107,9 @@ pub(crate) struct AppState {
pub(crate) neighbours_k: usize,
/// Our alias (`--alias`), published in the member list (`swarm::members`).
pub(crate) alias: Option<String>,
+ /// Where people reach our dashboard (`--dashboard-url`), published in the member list
+ /// (`swarm::members`).
+ pub(crate) dashboard_url: Option<String>,
/// Members alive within this window vote on remakes (`--electorate-window`).
pub(crate) electorate_window: Duration,
/// This node's clock is off when it differs from most of its peers' by more than