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

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

Merged
merged 1 commit into from
May 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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