aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@gmail.com>2017-01-17 18:35:07 +0800
committerBas van Kervel <basvankervel@gmail.com>2017-01-17 19:13:50 +0800
commit54a65e6d87800ba5ecb8a14621d4aff0bfa56ada (patch)
tree92463956d946655c9ba04f7505a7911dea1f919a /cmd
parent26d385c18b5eb003d9a69ff618c78acbe594db44 (diff)
downloadgo-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.tar
go-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.tar.gz
go-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.tar.bz2
go-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.tar.lz
go-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.tar.xz
go-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.tar.zst
go-tangerine-54a65e6d87800ba5ecb8a14621d4aff0bfa56ada.zip
cmd,eth,les,internal: remove natspec support
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/geth/usage.go1
-rw-r--r--cmd/utils/flags.go5
3 files changed, 0 insertions, 7 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index a6b6331df..bcaf2adef 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -106,7 +106,6 @@ func init() {
utils.AutoDAGFlag,
utils.TargetGasLimitFlag,
utils.NATFlag,
- utils.NatspecEnabledFlag,
utils.NoDiscoverFlag,
utils.DiscoveryV5Flag,
utils.NetrestrictFlag,
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index 853307604..759e0737d 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -169,7 +169,6 @@ var AppHelpFlagGroups = []flagGroup{
Name: "EXPERIMENTAL",
Flags: []cli.Flag{
utils.WhisperEnabledFlag,
- utils.NatspecEnabledFlag,
},
},
{
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 01114a957..ad7e6da6e 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -130,10 +130,6 @@ var (
Name: "identity",
Usage: "Custom node name",
}
- NatspecEnabledFlag = cli.BoolFlag{
- Name: "natspec",
- Usage: "Enable NatSpec confirmation notice",
- }
DocRootFlag = DirectoryFlag{
Name: "docroot",
Usage: "Document Root for HTTPClient file scheme",
@@ -730,7 +726,6 @@ func RegisterEthService(ctx *cli.Context, stack *node.Node, extra []byte) {
NetworkId: ctx.GlobalInt(NetworkIdFlag.Name),
MinerThreads: ctx.GlobalInt(MinerThreadsFlag.Name),
ExtraData: MakeMinerExtra(extra, ctx),
- NatSpec: ctx.GlobalBool(NatspecEnabledFlag.Name),
DocRoot: ctx.GlobalString(DocRootFlag.Name),
GasPrice: common.String2Big(ctx.GlobalString(GasPriceFlag.Name)),
GpoMinGasPrice: common.String2Big(ctx.GlobalString(GpoMinGasPriceFlag.Name)),