aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 03:30:19 +0100
committertv <tv@krebsco.de>2026-11-03 03:30:19 +0100
commitbdb76a07c824f3775c5eb92d2754f8f239ccdf70 (patch)
tree6cc9270c3ba0de7c7465b0ddf495f945ce6d0b14 /src/transport/mod.rs
parent5b3d9cbd1bba986b06978bef0100d349b33e74c7 (diff)
dashboard: show eager links on the map
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 7f1aa98..22782ef 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -469,6 +469,10 @@ pub(crate) struct Link {
pub(crate) rtt_us: Option<u32>,
/// Silent for long (`peers.md`, dormancy).
pub(crate) dormant: bool,
+ /// Eager links (`swarm::relay`): the member sends the peer its changes as it applies
+ /// them (the peer asked), and the peer the member (the member asked).
+ pub(crate) eager_to: bool,
+ pub(crate) eager_from: bool,
/// The peer's other transports (`swarm::links::MAX_OTHERS` at most): where else
/// it proved itself, those paths up.
pub(crate) others: Vec<OtherPath>,