diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-04-21 17:14:57 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-04-21 17:14:57 +0800 |
commit | b06f44ecc2b8f0c0506dd4239ee3d70eac4d1005 (patch) | |
tree | 427e186ce661bf4b8f0151d6080436c26eb22050 /cmd/geth | |
parent | 18580e152c1a2480b6245ebba4c62c202ed20ac6 (diff) | |
download | go-tangerine-b06f44ecc2b8f0c0506dd4239ee3d70eac4d1005.tar.gz go-tangerine-b06f44ecc2b8f0c0506dd4239ee3d70eac4d1005.tar.zst go-tangerine-b06f44ecc2b8f0c0506dd4239ee3d70eac4d1005.zip |
cmd: add a `--fakepow` flag to help benchmarking database changes
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/main.go | 1 | ||||
-rw-r--r-- | cmd/geth/usage.go | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 6ab4ed45b..c33e04f06 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -205,6 +205,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.NetworkIdFlag, utils.RPCCORSDomainFlag, utils.MetricsEnabledFlag, + utils.FakePoWFlag, utils.SolcPathFlag, utils.GpoMinGasPriceFlag, utils.GpoMaxGasPriceFlag, diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go index 278a55980..90019d7b9 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -150,8 +150,11 @@ var AppHelpFlagGroups = []flagGroup{ }, }, { - Name: "LOGGING AND DEBUGGING", - Flags: append([]cli.Flag{utils.MetricsEnabledFlag}, debug.Flags...), + Name: "LOGGING AND DEBUGGING", + Flags: append([]cli.Flag{ + utils.MetricsEnabledFlag, + utils.FakePoWFlag, + }, debug.Flags...), }, { Name: "EXPERIMENTAL", |