aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/config.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-01 15:56:10 +0800
committerobscuren <geffobscura@gmail.com>2014-07-01 15:56:10 +0800
commit39263b674c1a8a13a1c29349a48b3cdc4c5948db (patch)
tree367eb50aa4ba4568f51861feb89294255500d220 /ethutil/config.go
parent5f5910c603c107ceaf5f240f9ca23cbf9c951f67 (diff)
downloaddexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.tar
dexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.tar.gz
dexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.tar.bz2
dexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.tar.lz
dexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.tar.xz
dexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.tar.zst
dexon-39263b674c1a8a13a1c29349a48b3cdc4c5948db.zip
Paranoia
Diffstat (limited to 'ethutil/config.go')
-rw-r--r--ethutil/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/ethutil/config.go b/ethutil/config.go
index b253aa203..6ebb5e8cd 100644
--- a/ethutil/config.go
+++ b/ethutil/config.go
@@ -14,6 +14,7 @@ type config struct {
ExecPath string
Debug bool
+ Paranoia bool
Ver string
ClientString string
Pubkey []byte
@@ -44,7 +45,7 @@ func ReadConfig(ConfigFile string, Datadir string, Identifier string, EnvPrefix
} else {
g.ParseAll()
}
- Config = &config{ExecPath: Datadir, Debug: true, Ver: "0.5.15", conf: g, Identifier: Identifier}
+ Config = &config{ExecPath: Datadir, Debug: true, Ver: "0.5.15", conf: g, Identifier: Identifier, Paranoia: true}
Config.SetClientString("Ethereum(G)")
}
return Config