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
commit680097c9e82d9140ca7e2421113d23cc644b0cc2 (patch)
tree3acfb80e80e19b53c76feb0b0df6eb570fb312cf /src/remake/snapshot.rs
parent65e0069baeb42deb69dd0616e97484bc5a568d7d (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> {