diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/mod.rs | 9 |
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", |
