summaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-24 22:16:43 +0200
committertv <tv@krebsco.de>2026-10-24 22:16:43 +0200
commit6f59745d52c4b4c2b12bc4a6a815dfa2c73d4a25 (patch)
tree291e91de384234d082d21edf5d9715b6159861c9 /src/state.rs
parentfb69457988065a149a924c25a681efba097185f3 (diff)
fix wording around swarm key admission
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.rs b/src/state.rs
index 9c5552f..785eee8 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -583,8 +583,8 @@ pub(crate) struct AppState {
/// Per-node remake state (prebuilt snapshots, switch status, archive).
pub(crate) remake: Arc<RemakeState>,
- /// Pre-shared key every member must prove in the handshake; None admits anyone who
- /// knows the swarm ID.
+ /// Pre-shared key every member must prove in the handshake; None admits any node
+ /// that reaches us.
pub(crate) swarm_key: Option<Arc<crate::swarm::auth::SwarmKey>>,
/// Random per run of this node; our HELLOs carry it and replies must echo it.