summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
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 d4a7c9c..9c92b7e 100644
--- a/src/config/mod.rs
+++ b/src/config/mod.rs
@@ -110,6 +110,13 @@ pub(crate) const OPTIONS: &[OptionSpec] = &[
"HTTP API users (from htpasswd) who may write protocol data under /store/_continuum (remake records, members, forget records), e.g. to repair a stuck remake. Such writes act on the whole swarm and are logged. Epoch metadata and the swarm ID are never writable.",
),
option(
+ "log-raw-ids",
+ Kind::Flag,
+ "BOOL",
+ Some("false"),
+ "Log node IDs and transport identities as they are. Without it, a member's read `<scheme>:<alias>` wherever they appear (`continuum:<alias>`, `libp2p:<alias>`), as the member list names it.",
+ ),
+ option(
"debug-api",
Kind::Flag,
"BOOL",
@@ -376,6 +383,8 @@ pub(crate) struct Settings {
#[serde(default)]
pub(crate) debug_api: bool,
#[serde(default)]
+ pub(crate) log_raw_ids: bool,
+ #[serde(default)]
pub(crate) seeds: Vec<String>,
#[serde(default)]
pub(crate) genesis: bool,