aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs5
1 files changed, 5 insertions, 0 deletions
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<Vec<u64>>,
+ /// 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<Vec<u8>>,
}
/// Cheap to clone: large parts are shared (`bytes::Bytes`).