diff options
| author | tv <tv@krebsco.de> | 2026-10-25 11:30:15 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-25 11:30:15 +0100 |
| commit | 680097c9e82d9140ca7e2421113d23cc644b0cc2 (patch) | |
| tree | 3acfb80e80e19b53c76feb0b0df6eb570fb312cf /src/remake/snapshot.rs | |
| parent | 65e0069baeb42deb69dd0616e97484bc5a568d7d (diff) | |
put swarm ID into the document
Diffstat (limited to 'src/remake/snapshot.rs')
| -rw-r--r-- | src/remake/snapshot.rs | 2 |
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> { |
