aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-25 11:43:53 +0100
committertv <tv@krebsco.de>2026-10-25 11:43:53 +0100
commit8886bc09a05b0fb2dc3c84e4b0c816fe81851e14 (patch)
tree6eb6b96dddfc4e31f599a0270a050196af1cf50e /src/swarm/mod.rs
parent38f3ef952cf4cdd7cf5e9acbc8d9b64eeca86d81 (diff)
add state file
This allows storing the swarm ID and additionally discovered seeds, which prevents a formerly genesis node to start a new document.
Diffstat (limited to 'src/swarm/mod.rs')
-rw-r--r--src/swarm/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/swarm/mod.rs b/src/swarm/mod.rs
index adb5d1c..d424529 100644
--- a/src/swarm/mod.rs
+++ b/src/swarm/mod.rs
@@ -11,6 +11,7 @@ pub(crate) mod relay;
pub(crate) mod rtt;
pub(crate) mod source;
pub(crate) mod stability;
+pub(crate) mod state_file;
pub(crate) mod stats;
pub(crate) mod sync;
pub(crate) mod throughput;