cli/src/cli.rs: Document --enable-authority-discovery flag (#1085)

This commit is contained in:
Max Inden
2020-05-11 14:14:07 +02:00
committed by GitHub
parent 9049579103
commit 4084820f0e
+9 -1
View File
@@ -59,7 +59,15 @@ pub struct RunCmd {
#[structopt(long = "force-westend")]
pub force_westend: bool,
#[allow(missing_docs)]
/// Enable the authority discovery module.
///
/// (1) As a validator node: Make oneself discoverable by publishing either
/// ones own network addresses, or the ones of ones sentry nodes
/// (configured via the `sentry-nodes` flag).
///
/// (2) As a validator or sentry node: Discover addresses of validators or
/// addresses of their sentry nodes and maintain a permanent connection
/// to a subset.
#[structopt(long = "enable-authority-discovery")]
pub authority_discovery_enabled: bool,