diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-21 00:09:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-21 00:09:10 +0800 |
commit | 3b45fedb81dade6fc65c663c76856a07261f30d0 (patch) | |
tree | 94c9d0a98b625ca5a8be59f5b780fd3bd54254c7 /cmd/utils/flags.go | |
parent | 76025cc4245f0abc0749f4d1e433be865107bf24 (diff) | |
parent | 36ec42e50c9367e86621ff58b8e3d835abbbad79 (diff) | |
download | go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.tar go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.gz go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.bz2 go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.lz go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.xz go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.zst go-tangerine-3b45fedb81dade6fc65c663c76856a07261f30d0.zip |
Merge branch 'ethersphere-frontier/natspec' into develop
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r-- | cmd/utils/flags.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index a1d9eedda..f70f4243e 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -93,6 +93,10 @@ var ( Name: "identity", Usage: "node name", } + NatspecEnabledFlag = cli.BoolFlag{ + Name: "natspec", + Usage: "Enable NatSpec confirmation notice", + } // miner settings MinerThreadsFlag = cli.IntFlag{ @@ -268,6 +272,7 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config { MaxPeers: ctx.GlobalInt(MaxPeersFlag.Name), Port: ctx.GlobalString(ListenPortFlag.Name), NAT: GetNAT(ctx), + NatSpec: ctx.GlobalBool(NatspecEnabledFlag.Name), NodeKey: GetNodeKey(ctx), Shh: true, Dial: true, |