From 5581992d5603322d7f02bd76625334be3f8a2b18 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 3 Nov 2026 04:44:49 +0100 Subject: measure 2-hop neighbourhood --- src/transport/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/transport/mod.rs') 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>, } /// Cheap to clone: large parts are shared (`bytes::Bytes`). -- cgit v1.3.1