CreateEmptyBlocks and CreateEmptyBlocksInterval

This commit is contained in:
Ethan Buchman
2017-08-04 21:46:17 -04:00
parent fb47ca6d35
commit 37f1390473
7 changed files with 34 additions and 13 deletions

View File

@ -47,7 +47,7 @@ func AddNodeFlags(cmd *cobra.Command) {
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, "Only produce blocks when there are txs and when the AppHash changes")
cmd.Flags().Bool("consensus.create_empty_blocks", config.Consensus.CreateEmptyBlocks, "Set this to false to only produce blocks when there are txs or when the AppHash changes")
}
// Users wishing to: