aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-10-30 01:53:24 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-10-30 17:33:12 +0800
commit3c6e285d3bfa03935f4f346a2cb32236143e2fca (patch)
treeb433f27f43ebfab6efb06cfbb0d4d8db039fbefc /eth/backend.go
parentfd27f074feecec2f1e4c8041ff04ddac8d0ab6a3 (diff)
downloadgo-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.tar
go-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.tar.gz
go-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.tar.bz2
go-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.tar.lz
go-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.tar.xz
go-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.tar.zst
go-tangerine-3c6e285d3bfa03935f4f346a2cb32236143e2fca.zip
cmd/geth, cmd/utils, eth: group CLI flags by purpose
Diffstat (limited to 'eth/backend.go')
-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