Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
cli/src/cli.rs: Document --enable-authority-discovery flag (#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden authored May 11, 2020
1 parent a97de19 commit e64635a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit e64635a

Please sign in to comment.