Revert "revert enabling authority discovery by default (#1532)" (#1807)

This reverts commit a7b6c91f80.

The authority discovery module was initially enabled by default on
validator and sentry nodes with commit 59f5eb4. This change was later on
reverted in a7b6c91. With this commit the authority discovery module is
again enabled by default.
This commit is contained in:
Max Inden
2020-10-13 14:09:10 +02:00
committed by GitHub
parent 23b7542fee
commit 60e66f6af0
4 changed files with 21 additions and 18 deletions
+6 -3
View File
@@ -83,7 +83,10 @@ pub struct RunCmd {
#[structopt(long = "force-rococo")]
pub force_rococo: bool,
/// Enable the authority discovery module on validator or sentry nodes.
/// Disable the authority discovery module on validator or sentry nodes.
///
/// Enabled by default on validator and sentry nodes. Always disabled on non
/// validator or sentry nodes.
///
/// When enabled:
///
@@ -94,8 +97,8 @@ pub struct RunCmd {
/// (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,
#[structopt(long = "disable-authority-discovery")]
pub authority_discovery_disabled: bool,
/// Setup a GRANDPA scheduled voting pause.
///