From 4e53e152f83ecb88fa162e0a18e6832df5a38fef Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 5 Nov 2026 05:38:20 +0100 Subject: round trips in trees --- src/transport/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 85f69f5..e81adfb 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -210,6 +210,11 @@ pub(crate) struct Status { /// of the members it has an active session with that answer, sorted. In keepalive STATUSes and /// their replies, and when it changed; not in announcements of heads (None). pub(crate) reaches: Option>, + /// The round trip to each member in `reaches`, in its order, as a bucket + /// (`swarm::rtt::bucket`): which of a member's possible parents in a writer's tree + /// is the faster (`swarm::tree`). With `reaches`; None otherwise. + #[serde(with = "serde_bytes")] + pub(crate) round_trips: Option>, } /// Cheap to clone: large parts are shared (`bytes::Bytes`). -- cgit v1.3.1