summaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-24 05:37:20 +0200
committertv <tv@krebsco.de>2026-10-24 05:37:20 +0200
commit79fe8204fd69d7da6eefb2456e1776ec0fe91ff8 (patch)
tree75064bb9569de5cbc60132cbd4ff2b01a42b5f11 /src/transport/mod.rs
parent2fa699eef1ac8f8c68844b179ad418acc526f083 (diff)
assess swarm stability
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 e8d654d..19c4126 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -139,6 +139,9 @@ pub struct HelloReply {
/// The `run_id` of the HELLO answered. A reply to a HELLO from an earlier run of the
/// recipient (delivered late, or queued while it was down) is ignored.
pub run_id: RunId,
+ /// How long before this HELLO the sender had last heard from the recipient, if ever
+ /// (in milliseconds): tells a restarted node how long it was away.
+ pub away_ms: Option<u64>,
}
#[derive(Debug, Clone)]