diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-17 20:38:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-17 20:38:57 +0800 |
commit | d63752ef4d4e455f2f8f0acebf89e482534b0ef1 (patch) | |
tree | 91bdef3dc7974a1663d9b0de1d8efadbabb465af /cmd | |
parent | 6fb76443b34ac5797c4b561ec38148eb3868a47e (diff) | |
parent | 54a65e6d87800ba5ecb8a14621d4aff0bfa56ada (diff) | |
download | go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.tar go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.tar.gz go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.tar.bz2 go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.tar.lz go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.tar.xz go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.tar.zst go-tangerine-d63752ef4d4e455f2f8f0acebf89e482534b0ef1.zip |
Merge pull request #3579 from bas-vk/natspec
cmd,eth,les,internal: remove natspec support
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/main.go | 1 | ||||
-rw-r--r-- | cmd/geth/usage.go | 1 | ||||
-rw-r--r-- | cmd/utils/flags.go | 5 |
3 files changed, 0 insertions, 7 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index ac34d3035..ff9d34b3c 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 5ebfc8919..9349857e9 100644 --- a/cmd/geth/usage.go +++ b/cmd/geth/usage.go @@ -170,7 +170,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 08b4db578..4b76b8334 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -131,10 +131,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", @@ -735,7 +731,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)), |