aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 12:18:52 +0100
committertv <tv@krebsco.de>2026-10-31 12:18:52 +0100
commit23fdb16885d8f4d8a8d95d77d4c5daf1403e0f0f (patch)
treee92bb8e49160d2c1911ce48d707b351c213fef4a /src/transport/mod.rs
parent4ee957385ebe392a2d1fe9ad09f0a8477be78f05 (diff)
links replies carry clock offsets
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs3
1 files changed, 3 insertions, 0 deletions
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<OtherPath>,
+ /// 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<paths::ClockOffset>,
}
/// A transport of a link besides the one in use, in a LINKS_REPLY.