From 23fdb16885d8f4d8a8d95d77d4c5daf1403e0f0f Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 12:18:52 +0100 Subject: links replies carry clock offsets --- src/transport/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 1ce4cd1..048fe31 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -442,6 +442,9 @@ pub(crate) struct Link { /// The peer's other transports (`swarm::links::MAX_OTHERS` at most): where else /// it proved itself, those paths up. pub(crate) others: Vec, + /// How far the peer's clock is ahead of the member's (`paths::ClockOffset`), if + /// measured: with every member's, a map of the swarm shows whose clock is off. + pub(crate) clock: Option, } /// A transport of a link besides the one in use, in a LINKS_REPLY. -- cgit v1.3.1