mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Merge pull request #167 from ngtuna/bootnode
remove bootnodes for ETH mainnet
This commit is contained in:
commit
76812c9b0c
2 changed files with 1 additions and 4 deletions
|
|
@ -151,9 +151,6 @@ func makeConfigNode(ctx *cli.Context) (*node.Node, tomoConfig) {
|
|||
}
|
||||
}
|
||||
cfg.Account.Passwords = passwords
|
||||
//Apply Bootnodes
|
||||
applyValues(cfg.Bootnodes.Mainnet, ¶ms.MainnetBootnodes)
|
||||
applyValues(cfg.Bootnodes.Testnet, ¶ms.TestnetBootnodes)
|
||||
|
||||
// Apply flags.
|
||||
utils.SetNodeConfig(ctx, &cfg.Node)
|
||||
|
|
|
|||
|
|
@ -587,7 +587,7 @@ func setNodeUserIdent(ctx *cli.Context, cfg *node.Config) {
|
|||
// setBootstrapNodes creates a list of bootstrap nodes from the command line
|
||||
// flags, reverting to pre-configured ones if none have been specified.
|
||||
func setBootstrapNodes(ctx *cli.Context, cfg *p2p.Config) {
|
||||
urls := params.MainnetBootnodes
|
||||
urls := []string{}
|
||||
switch {
|
||||
case ctx.GlobalIsSet(BootnodesFlag.Name) || ctx.GlobalIsSet(BootnodesV4Flag.Name):
|
||||
if ctx.GlobalIsSet(BootnodesV4Flag.Name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue