node: remove grandpa authority flags (#1306)

This commit is contained in:
André Silva
2018-12-21 11:56:18 +00:00
committed by Gav Wood
parent a6c77e4f82
commit d67821a580
3 changed files with 19 additions and 54 deletions
-8
View File
@@ -20,14 +20,6 @@ use cli::CoreParams;
/// Extend params for Node
#[derive(Debug, StructOpt)]
pub struct Params {
/// Should run as a GRANDPA authority node
#[structopt(long = "grandpa-authority", help = "Run Node as a GRANDPA authority, implies --validator")]
grandpa_authority: bool,
/// Should run as a GRANDPA authority node only
#[structopt(long = "grandpa-authority-only", help = "Run Node as a GRANDPA authority only, don't as a usual validator, implies --grandpa-authority")]
grandpa_authority_only: bool,
#[structopt(flatten)]
core: CoreParams
}