diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-22 11:49:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:54 +0800 |
commit | cd418f06bbb614d0431fb633ac53549bf03ac917 (patch) | |
tree | 93b1019856e3afd170deff419b850d27927b9d86 /cmd/utils | |
parent | b2470a70edcc1a834a863414c979832e1c3a89ba (diff) | |
download | dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.tar dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.tar.gz dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.tar.bz2 dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.tar.lz dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.tar.xz dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.tar.zst dexon-cd418f06bbb614d0431fb633ac53549bf03ac917.zip |
geth: add propose flag to enable/disable proposing
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 5 |
1 files changed, 5 insertions, 0 deletions
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", |