From 32c788b4d6245abebafb250b005a211fcbeac32c Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 06:50:07 +0100 Subject: pong carries time --- src/transport/identity.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/transport/identity.rs') diff --git a/src/transport/identity.rs b/src/transport/identity.rs index 7ce8832..eb7bb93 100644 --- a/src/transport/identity.rs +++ b/src/transport/identity.rs @@ -244,12 +244,14 @@ impl Book { impl IdentityTransport { /// Over `transport`, whose addresses have `config.scheme`, and `config.more`. - /// `firewall`: the debug firewall, if any, which paths applies by address. + /// `firewall`: the debug firewall, if any, which paths applies by address; `clock`: + /// the node's wall clock (`Paths::new`). pub(crate) fn new( transport: Arc, config: IdentityConfig, traffic: Arc, firewall: Option>, + clock: Arc, ) -> Self { let node_id = config.key.id(); let shared = Arc::new_cyclic(|shared: &std::sync::Weak| { @@ -261,6 +263,7 @@ impl IdentityTransport { .collect(), Some(Arc::clone(&traffic)), firewall.is_some().then_some(gate), + clock, )), firewall, key: config.key, -- cgit v1.3.1