diff options
| author | tv <tv@krebsco.de> | 2026-11-06 19:54:09 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-06 19:54:09 +0100 |
| commit | 5994b49412c058079639585501a78e6458fdbb6f (patch) | |
| tree | ca78aa3cd7d0d6d2a48bfa42d61afcddb8efd6df /src/document | |
| parent | 7c0c318dca3054be6c7bacf5a4b3f5a4e47cc949 (diff) | |
HyParView (slim)
Diffstat (limited to 'src/document')
| -rw-r--r-- | src/document/meta.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/document/meta.rs b/src/document/meta.rs index af1cd50..a60efc1 100644 --- a/src/document/meta.rs +++ b/src/document/meta.rs @@ -11,6 +11,9 @@ //! changed by a protocol writer if need be (`swarm::topology::swarm_neighbours`). //! * `relays`: relays for the swarm's nodes, listed by an operator //! (`swarm::members::relays`). +//! * `topology`, `dissemination`: how members' neighbours are chosen, and how a change +//! reaches every member, written by the genesis node, and changed by a protocol +//! writer if need be (`swarm::topology::swarm_ways`). /// The key every protocol path starts with. pub(crate) const ROOT: &str = "_continuum"; @@ -22,6 +25,8 @@ pub(crate) const EPOCHS: &str = "epochs"; pub(crate) const SWARM: &str = "swarm"; pub(crate) const NEIGHBOURS: &str = "neighbours"; pub(crate) const RELAYS: &str = "relays"; +pub(crate) const TOPOLOGY: &str = "topology"; +pub(crate) const DISSEMINATION: &str = "dissemination"; /// The store path `_continuum/<parts…>`. pub(crate) fn path(parts: &[&str]) -> Vec<String> { |
