diff options
| author | tv <tv@krebsco.de> | 2026-10-25 11:43:53 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-25 11:43:53 +0100 |
| commit | 9845a07960fa083db0b0c7e2312f98706e9684cb (patch) | |
| tree | c5df07227d4fbc75e817eada595cec6a819eee43 /src/swarm/mod.rs | |
| parent | 680097c9e82d9140ca7e2421113d23cc644b0cc2 (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.rs | 1 |
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; |
