summaryrefslogtreecommitdiffstats
path: root/src/remake/snapshot.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-25 11:30:15 +0100
committertv <tv@krebsco.de>2026-10-25 11:30:15 +0100
commit6f71ed7756124b0f3e40272566e0264e6544b61d (patch)
treef50a60e6a7838e5b5421ebcc1ab98670be73290c /src/remake/snapshot.rs
parent66e5f74b54c5e300e3a8c3221bd8f1c9acee014b (diff)
put swarm ID into the document
Diffstat (limited to 'src/remake/snapshot.rs')
-rw-r--r--src/remake/snapshot.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remake/snapshot.rs b/src/remake/snapshot.rs
index e50a2a2..ca50c86 100644
--- a/src/remake/snapshot.rs
+++ b/src/remake/snapshot.rs
@@ -38,6 +38,8 @@ pub(crate) const REMAKES: &str = "remakes";
/// The votes register (`records`).
pub(crate) const VOTES: &str = "votes";
pub(crate) const EPOCHS: &str = "epochs";
+/// The swarm ID, written once by the genesis node (`swarm::bootstrap`).
+pub(crate) const SWARM: &str = "swarm";
/// Everything that determines a snapshot besides the base content.
pub(crate) struct SnapshotParams<'a> {