aboutsummaryrefslogtreecommitdiffstats
path: root/src/document
diff options
context:
space:
mode:
Diffstat (limited to 'src/document')
-rw-r--r--src/document/meta.rs5
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> {