cmd: --consensus.no_empty_blocks

This commit is contained in:
Ethan Buchman
2017-07-13 15:08:00 -04:00
parent 678a9a2e42
commit e9a2389300
2 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,9 @@ func AddNodeFlags(cmd *cobra.Command) {
cmd.Flags().String("p2p.seeds", config.P2P.Seeds, "Comma delimited host:port seed nodes")
cmd.Flags().Bool("p2p.skip_upnp", config.P2P.SkipUPNP, "Skip UPNP configuration")
cmd.Flags().Bool("p2p.pex", config.P2P.PexReactor, "Enable Peer-Exchange (dev feature)")
// consensus flags
cmd.Flags().Bool("consensus.no_empty_blocks", config.Consensus.NoEmptyBlocks, "Prevent empty blocks from being proposed by correct processes")
}
// Users wishing to: