aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-21 00:09:10 +0800
committerobscuren <geffobscura@gmail.com>2015-04-21 00:09:10 +0800
commit3b45fedb81dade6fc65c663c76856a07261f30d0 (patch)
tree94c9d0a98b625ca5a8be59f5b780fd3bd54254c7 /cmd/utils/flags.go
parent76025cc4245f0abc0749f4d1e433be865107bf24 (diff)
parent36ec42e50c9367e86621ff58b8e3d835abbbad79 (diff)
downloadgo-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.go5
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,