cmd/utils, node: switch over default peer count to 50
This commit is contained in:
parent
749ccab9a4
commit
0758d7fe5c
@ -565,12 +565,12 @@ var (
|
||||
MaxPeersFlag = cli.IntFlag{
|
||||
Name: "maxpeers",
|
||||
Usage: "Maximum number of network peers (network disabled if set to 0)",
|
||||
Value: 25,
|
||||
Value: node.DefaultConfig.P2P.MaxPeers,
|
||||
}
|
||||
MaxPendingPeersFlag = cli.IntFlag{
|
||||
Name: "maxpendpeers",
|
||||
Usage: "Maximum number of pending connection attempts (defaults used if set to 0)",
|
||||
Value: 0,
|
||||
Value: node.DefaultConfig.P2P.MaxPendingPeers,
|
||||
}
|
||||
ListenPortFlag = cli.IntFlag{
|
||||
Name: "port",
|
||||
|
@ -47,7 +47,7 @@ var DefaultConfig = Config{
|
||||
WSModules: []string{"net", "web3"},
|
||||
P2P: p2p.Config{
|
||||
ListenAddr: ":30303",
|
||||
MaxPeers: 25,
|
||||
MaxPeers: 50,
|
||||
NAT: nat.Any(),
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user