core: cli flag to disable grandpa (#2105)

* core: cli flag to disable grandpa

* core: fix test service configuration

* Update core/service/test/src/lib.rs
This commit is contained in:
André Silva
2019-03-25 15:19:36 +00:00
committed by GitHub
parent 620e8dc8b9
commit e28ff32b89
5 changed files with 16 additions and 0 deletions
+4
View File
@@ -220,6 +220,10 @@ pub struct RunCmd {
#[structopt(long = "validator")]
pub validator: bool,
/// Disable GRANDPA when running in validator mode
#[structopt(long = "no-grandpa")]
pub no_grandpa: bool,
/// Run in light client mode
#[structopt(long = "light")]
pub light: bool,