diff options
| author | tv <tv@krebsco.de> | 2026-10-22 20:37:34 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-22 20:52:07 +0200 |
| commit | 1dcf40f06c27f4deff73df204dc05fbf999234f5 (patch) | |
| tree | 3da4c7adc7fa46823bef7d5541b686b7b36e804e /src/transport/mod.rs | |
| parent | 98ca55ee593c1d073241a295c9aba513e8e96e99 (diff) | |
introduce pre-shared swarm key
Diffstat (limited to 'src/transport/mod.rs')
| -rw-r--r-- | src/transport/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<u8>, } #[derive(Debug, Clone)] @@ -50,6 +52,8 @@ pub struct HelloReply { pub swarm_id: String, pub peers: Vec<String>, pub epoch: Epoch, + /// Proof of the swarm key (`swarm::auth`); empty without one. + pub auth: Vec<u8>, } #[derive(Debug, Clone)] |
