summaryrefslogtreecommitdiffstats
path: root/src/document/meta.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 17:38:16 +0100
committertv <tv@krebsco.de>2026-10-28 17:38:16 +0100
commitd7959009790a422ebb17d4c4ab1d9be3d48dc511 (patch)
treee1409432709b0c856a05fb7fd0c0b31895878bcf /src/document/meta.rs
parent0c77de0d960de62f770a26204e0ef730d0a07b08 (diff)
list libp2p relays in document
Diffstat (limited to 'src/document/meta.rs')
-rw-r--r--src/document/meta.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document/meta.rs b/src/document/meta.rs
index 482b421..24ed7c7 100644
--- a/src/document/meta.rs
+++ b/src/document/meta.rs
@@ -7,6 +7,8 @@
//! * `votes/<pk>`: the votes register (`remake::records`).
//! * `epochs/<generation>`: epoch metadata, written by snapshots (`remake::snapshot`).
//! * `swarm`: the swarm ID, written once by the genesis node (`swarm::bootstrap`).
+//! * `relays`: relays for the swarm's nodes, listed by an operator
+//! (`swarm::members::relays`).
/// The key every protocol path starts with.
pub(crate) const ROOT: &str = "_continuum";
@@ -16,6 +18,7 @@ pub(crate) const REMAKES: &str = "remakes";
pub(crate) const VOTES: &str = "votes";
pub(crate) const EPOCHS: &str = "epochs";
pub(crate) const SWARM: &str = "swarm";
+pub(crate) const RELAYS: &str = "relays";
/// The store path `_continuum/<parts…>`.
pub(crate) fn path(parts: &[&str]) -> Vec<String> {