diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-22 11:49:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:50 +0800 |
commit | b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a (patch) | |
tree | 5d78a0c2eecc9a763f28caae8ec64006dde05c41 /cmd/utils/flags.go | |
parent | 57e39b9f4813087014082d98f505631e616f0cb1 (diff) | |
download | dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.gz dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.bz2 dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.lz dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.xz dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.zst dexon-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.zip |
geth: add propose flag to enable/disable proposing
Diffstat (limited to 'cmd/utils/flags.go')
-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", |