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 | ced632feda41a4e12d7cbfefe84187b0712391a0 (patch) | |
| tree | fc4a24cd8e9a4cdd0ea6ed96496dc3f42fa5b2e6 /src/swarm/mod.rs | |
| parent | 6f71ed7756124b0f3e40272566e0264e6544b61d (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; |
