aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-10-30 17:59:36 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-10-30 17:59:36 +0800
commit98b036ddb637e11aec4112054495672eff295092 (patch)
tree9cb4726b20db2abfea3cecbd0b12e7c78d122953 /eth
parent1abbe05e933ecdee7e3d1bf286745425e6a474f4 (diff)
parent3c6e285d3bfa03935f4f346a2cb32236143e2fca (diff)
downloaddexon-98b036ddb637e11aec4112054495672eff295092.tar
dexon-98b036ddb637e11aec4112054495672eff295092.tar.gz
dexon-98b036ddb637e11aec4112054495672eff295092.tar.bz2
dexon-98b036ddb637e11aec4112054495672eff295092.tar.lz
dexon-98b036ddb637e11aec4112054495672eff295092.tar.xz
dexon-98b036ddb637e11aec4112054495672eff295092.tar.zst
dexon-98b036ddb637e11aec4112054495672eff295092.zip
Merge pull request #1949 from karalabe/update-command-usage
cmd/geth, cmd/utils, eth: group CLI flags by purpose
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/eth/backend.go b/eth/backend.go
index ee857e146..72487457a 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -91,7 +91,6 @@ type Config struct {
Name string
NetworkId int
- GenesisNonce int
GenesisFile string
GenesisBlock *types.Block // used by block tests
FastSync bool
@@ -104,7 +103,6 @@ type Config struct {
DataDir string
LogFile string
Verbosity int
- LogJSON string
VmDebug bool
NatSpec bool
DocRoot string
@@ -273,11 +271,7 @@ type Ethereum struct {
}
func New(config *Config) (*Ethereum, error) {
- // Bootstrap database
logger.New(config.DataDir, config.LogFile, config.Verbosity)
- if len(config.LogJSON) > 0 {
- logger.NewJSONsystem(config.DataDir, config.LogJSON)
- }
// Let the database take 3/4 of the max open files (TODO figure out a way to get the actual limit of the open files)
const dbCount = 3