aboutsummaryrefslogtreecommitdiffstats
path: root/src/document
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-06 04:15:59 +0100
committertv <tv@krebsco.de>2026-11-06 04:15:59 +0100
commit278ca3cd21397ffad07f0874b80b77f41088a3f2 (patch)
treee240d5d0874fba9008544c970ce7d26e22c22c2a /src/document
parentf4db88178bdf3e8f28cd42502d6e0c6905988687 (diff)
swarm neighbours
Diffstat (limited to 'src/document')
-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 24ed7c7..af1cd50 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`).
+//! * `neighbours`: the neighbours each member keeps, written by the genesis node, and
+//! 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`).
@@ -18,6 +20,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 NEIGHBOURS: &str = "neighbours";
pub(crate) const RELAYS: &str = "relays";
/// The store path `_continuum/<parts…>`.