mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 14:21:14 +00:00
committed by
Anton Kaliaev
parent
55278211ed
commit
100078ca05
@@ -59,6 +59,10 @@ func AddNodeFlags(cmd *cobra.Command) {
|
||||
"consensus.create_empty_blocks",
|
||||
config.Consensus.CreateEmptyBlocks,
|
||||
"Set this to false to only produce blocks when there are txs or when the AppHash changes")
|
||||
cmd.Flags().String(
|
||||
"consensus.create_empty_blocks_interval",
|
||||
string(config.Consensus.CreateEmptyBlocksInterval),
|
||||
"The possible interval between empty blocks")
|
||||
}
|
||||
|
||||
// NewRunNodeCmd returns the command that allows the CLI to start a node.
|
||||
|
||||
Reference in New Issue
Block a user