From d1ea53c3b9c24fc07435b12ae46d8b519ffddba9 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 23 Oct 2026 22:53:16 +0200 Subject: perform handshake in one round trip --- src/transport/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index d7e7135..d96b059 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -112,6 +112,9 @@ impl ParsedMessage { #[derive(Debug, Clone)] pub struct HelloRequest { + /// The sender's swarm, if it knows it (a new node doesn't yet). A receiver in + /// another swarm doesn't answer. + pub swarm_id: Option, pub epoch: Epoch, /// Proof of the swarm key (`swarm::auth`); empty without one. pub auth: Vec, -- cgit v1.3.1