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.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.