From d05e3b01af441ccf975152995701e9e29606bd11 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 22 Oct 2026 20:37:34 +0200 Subject: introduce pre-shared swarm key --- src/transport/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 0afb5ee..58db611 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -43,6 +43,8 @@ impl ParsedMessage { #[derive(Debug, Clone)] pub struct HelloRequest { pub epoch: Epoch, + /// Proof of the swarm key (`swarm::auth`); empty without one. + pub auth: Vec, } #[derive(Debug, Clone)] @@ -50,6 +52,8 @@ pub struct HelloReply { pub swarm_id: String, pub peers: Vec, pub epoch: Epoch, + /// Proof of the swarm key (`swarm::auth`); empty without one. + pub auth: Vec, } #[derive(Debug, Clone)] -- cgit v1.3.1