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 | 38f3ef952cf4cdd7cf5e9acbc8d9b64eeca86d81 (patch) | |
| tree | fc5f1cd093ea9c7bfd15a0648f567fcf79605f0e /src/remake | |
| parent | c15d738c70a9e0dbedd214c468837a3cc701768a (diff) | |
put swarm ID into the document
Diffstat (limited to 'src/remake')
| -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> { |
