aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 04:44:49 +0100
committertv <tv@krebsco.de>2026-11-03 04:44:49 +0100
commit5581992d5603322d7f02bd76625334be3f8a2b18 (patch)
tree3c904680730e7fa6071b2712746092c67d91e644 /src/transport/mod.rs
parent05dc2d0373cc8d7b0dc4da63a03a7850e4fefdc8 (diff)
measure 2-hop neighbourhood
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 22782ef..9ae8ff2 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -210,6 +210,10 @@ pub(crate) struct Status {
/// sent as sync messages (an eager link, `swarm::relay`), not only announced. Every
/// STATUS says so, or not, again: one lost changes nothing for long.
pub(crate) eager: bool,
+ /// Whom the sender reaches (`swarm::reach`): the pair keys (`topology::pair_key`)
+ /// of the members it has an active session with, sorted. In keepalive STATUSes and
+ /// their replies, and when it changed; not in announcements of heads (None).
+ pub(crate) reaches: Option<Vec<u64>>,
}
/// Cheap to clone: large parts are shared (`bytes::Bytes`).