mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 12:27:56 +00:00
cli/src/cli.rs: Document --enable-authority-discovery flag (#1085)
This commit is contained in:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user