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 | |
parent | 57e39b9f4813087014082d98f505631e616f0cb1 (diff) | |
download | go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.gz go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.bz2 go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.lz go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.xz go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.tar.zst go-tangerine-b5c7aaae2a314bb259bf9fc5bd2ee58a4d10661a.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", |