diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-09-06 21:46:54 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-09-09 14:53:05 +0800 |
commit | f04b3a6f293ef15151dc040183ab74ef5ce54d2a (patch) | |
tree | 4e74df1f20d9a9f83c10370ce6eb428f6fbaf0e2 /cmd/geth/main.go | |
parent | e2d7c1a52303ebdd8c2956badad5e600bf93ff33 (diff) | |
download | dexon-f04b3a6f293ef15151dc040183ab74ef5ce54d2a.tar.gz dexon-f04b3a6f293ef15151dc040183ab74ef5ce54d2a.tar.zst dexon-f04b3a6f293ef15151dc040183ab74ef5ce54d2a.zip |
cmd/geth, cmd/utils, eth: added dev mode flag
Dev mode enabled some debugging flags such as:
* VM debugging mode
* Simpler proof of work
* Whisper enabled by default
* Datadir to a tmp datadir
* Maxpeers set to 0
* Gas price of 0
* Random listen port
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r-- | cmd/geth/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index aacb588fe..f72f69791 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -308,6 +308,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.IPCPathFlag, utils.ExecFlag, utils.WhisperEnabledFlag, + utils.DevModeFlag, utils.VMDebugFlag, utils.VMForceJitFlag, utils.VMJitCacheFlag, |