aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-04-29 19:19:38 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-04-29 19:19:38 +0800
commit9672a62a382380347ff6d5ecc5a205a9836b5ae1 (patch)
tree78611bdb9799b3f3f0e0357d031d714e2eb98391 /cmd/geth
parent0f722df2d9578c7deb15c8dba5ec70add98c34de (diff)
parentb06f44ecc2b8f0c0506dd4239ee3d70eac4d1005 (diff)
downloadgo-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.tar
go-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.tar.gz
go-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.tar.bz2
go-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.tar.lz
go-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.tar.xz
go-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.tar.zst
go-tangerine-9672a62a382380347ff6d5ecc5a205a9836b5ae1.zip
Merge pull request #2485 from karalabe/fakepow
cmd: add a `--fakepow` flag to help benchmarking database changes
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/geth/usage.go7
2 files changed, 6 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index a43daba2f..ffeb7c1e5 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -206,6 +206,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",