From 9845a07960fa083db0b0c7e2312f98706e9684cb Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 25 Oct 2026 11:43:53 +0100 Subject: add state file This allows storing the swarm ID and additionally discovered seeds, which prevents a formerly genesis node to start a new document. --- src/swarm/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/swarm/mod.rs') 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; -- cgit v1.3.1