diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-04-29 23:50:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-04-30 21:03:47 +0800 |
commit | 679c90b873f78b10a97a85ddd29b91bded9b0dd1 (patch) | |
tree | 307635a5ff1a920736c0309ec5615f83a37047e2 /cmd | |
parent | de0549fabb8be4dbaf382ee68ec1b702cb0c5c97 (diff) | |
download | go-tangerine-679c90b873f78b10a97a85ddd29b91bded9b0dd1.tar.gz go-tangerine-679c90b873f78b10a97a85ddd29b91bded9b0dd1.tar.zst go-tangerine-679c90b873f78b10a97a85ddd29b91bded9b0dd1.zip |
cmd/geth, cmd/utils, eth: internalize trusted node config file
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/main.go | 1 | ||||
-rw-r--r-- | cmd/utils/flags.go | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index d9d1c1b15..036ee2d0c 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -233,7 +233,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.UnlockedAccountFlag, utils.PasswordFileFlag, utils.BootNodesFlag, - utils.TrustedNodesFlag, utils.DataDirFlag, utils.BlockchainVersionFlag, utils.JSpathFlag, diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index f52bfc21f..62b49cddc 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -207,11 +207,6 @@ var ( Usage: "Space-separated enode URLs for p2p discovery bootstrap", Value: "", } - TrustedNodesFlag = cli.StringFlag{ - Name: "trustednodes", - Usage: "List of trusted nodes (either an enode list or path to a json file of enodes)", - Value: "", - } NodeKeyFileFlag = cli.StringFlag{ Name: "nodekey", Usage: "P2P node key file", @@ -298,7 +293,6 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config { Shh: ctx.GlobalBool(WhisperEnabledFlag.Name), Dial: true, BootNodes: ctx.GlobalString(BootNodesFlag.Name), - TrustedNodes: ctx.GlobalString(TrustedNodesFlag.Name), } } |