From b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a Mon Sep 17 00:00:00 2001 From: Sonic Date: Mon, 22 Oct 2018 11:49:29 +0800 Subject: geth: add propose flag to enable/disable proposing --- cmd/utils/flags.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/utils') diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index cf41f5cdd..585f9c313 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -317,6 +317,11 @@ var ( Usage: "Number of trie node generations to keep in memory", Value: int(state.MaxTrieCacheGen), } + // Proposer settings + ProposingEnabledFlag = cli.BoolFlag{ + Name: "propose", + Usage: "Enable proposing", + } // Miner settings MiningEnabledFlag = cli.BoolFlag{ Name: "mine", -- cgit v1.2.3