diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-04-08 19:22:31 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-20 03:57:49 +0800 |
commit | c4b7d4d3f77160fba1ab3d8366cb2657a90e2282 (patch) | |
tree | 34f15cad05c00f2ab60f8e0084a1a869030b9a13 /eth | |
parent | b46e15217131e4ebe64e1ee55594c3ab0620395c (diff) | |
download | go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.tar go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.tar.gz go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.tar.bz2 go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.tar.lz go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.tar.xz go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.tar.zst go-tangerine-c4b7d4d3f77160fba1ab3d8366cb2657a90e2282.zip |
NatSpec cli option, resolver tests passing
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 3 |
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()) |