aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-06 16:47:32 +0100
committertv <tv@krebsco.de>2026-11-06 16:47:32 +0100
commitab8f5447680da56ce658abbc33c222219c3204ef (patch)
tree93ed572d120cf29b7e440c31194bafd021e8a5a6 /src/config
parent7c0f90b327ad567c4e5e6a96cda433d774182dac (diff)
plumtree
Diffstat (limited to 'src/config')
-rw-r--r--src/config/mod.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs
index 93ae7fd..5f6634f 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -285,6 +285,13 @@ pub(crate) const OPTIONS: &[OptionSpec] = &[
"Members that renewed their alive stamp within this time vote on remakes (a majority of them must agree). At least 7h. Members renew their stamps every seventh of the shortest window any of them publishes, hourly at most, so nodes may differ. Matters on the node that coordinates a remake.",
),
option(
+ "dissemination",
+ Kind::Text,
+ "writers-trees|plumtree",
+ Some("writers-trees"),
+ "How a change reaches every member: along writers' trees computed alike on every node from the member list, or by PlumTree (eager links pruned where they deliver twice, grafted where announcements had to bring a change). For experiments: every node of a swarm must use the same one.",
+ ),
+ option(
"superseded-writes",
Kind::Text,
"drop|quarantine",
@@ -576,6 +583,8 @@ pub(crate) struct Settings {
)]
pub(crate) electorate_window: Duration,
#[serde(default)]
+ pub(crate) dissemination: crate::swarm::dissemination::Kind,
+ #[serde(default)]
pub(crate) superseded_writes: crate::remake::Superseded,
#[serde(
default = "default_clock_skew_warn",