aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-21 00:08:14 +0800
committerobscuren <geffobscura@gmail.com>2015-04-21 00:08:14 +0800
commit36ec42e50c9367e86621ff58b8e3d835abbbad79 (patch)
tree94c9d0a98b625ca5a8be59f5b780fd3bd54254c7 /eth
parent76025cc4245f0abc0749f4d1e433be865107bf24 (diff)
parent093a9106b093310acf4c3911baa61916cff52ab8 (diff)
downloaddexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar
dexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.gz
dexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.bz2
dexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.lz
dexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.xz
dexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.zst
dexon-36ec42e50c9367e86621ff58b8e3d835abbbad79.zip
Merge branch 'frontier/natspec' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 264753aba..ec2444836 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -50,6 +50,7 @@ type Config struct {
LogLevel int
LogJSON string
VmDebug bool
+ NatSpec bool
MaxPeers int
Port string
@@ -144,6 +145,7 @@ type Ethereum struct {
// logger logger.LogSystem
Mining bool
+ NatSpec bool
DataDir string
etherbase common.Address
clientVersion string
@@ -205,6 +207,7 @@ func New(config *Config) (*Ethereum, error) {
clientVersion: config.Name, // TODO should separate from Name
ethVersionId: config.ProtocolVersion,
netVersionId: config.NetworkId,
+ NatSpec: config.NatSpec,
}
eth.chainManager = core.NewChainManager(blockDb, stateDb, eth.EventMux())