diff options
| author | tv <tv@krebsco.de> | 2026-11-04 22:15:18 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-04 22:15:18 +0100 |
| commit | a1585a3db53ee59fe941622d698638322b585267 (patch) | |
| tree | 097f53b4cb6efe4e0da54d01f960a707cc0b7922 /src/transport/mod.rs | |
| parent | e1e6c8b8faead6c348f1b775baa50a30867c0016 (diff) | |
hop delays
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 426ef72..ae6b593 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -671,6 +671,9 @@ pub(crate) struct SyncEnvelope { /// heads, and the sender awaits no answer. A receiver it leaves level with the /// sender answers nothing; one that has changes the sender lacks answers with them. pub(crate) delivered: bool, + /// When the sender generated it, by its clock: the receiver takes how long it took + /// to come (`swarm::hop`). + pub(crate) sent: crate::clock::UnixMillis, } /// What a sync envelope carries. |
