Skip to content

Commit 0a9dc15

Browse files
committed
Increased peer from 10 to 30
1 parent 1508a23 commit 0a9dc15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/ethereum/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func Init() {
8585
flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)")
8686
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
8787
flag.BoolVar(&UseUPnP, "upnp", false, "enable UPnP support")
88-
flag.IntVar(&MaxPeer, "maxpeer", 10, "maximum desired peers")
88+
flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
8989
flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
9090
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server")
9191
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")

cmd/mist/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func Init() {
104104
flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)")
105105
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
106106
flag.BoolVar(&UseUPnP, "upnp", true, "enable UPnP support")
107-
flag.IntVar(&MaxPeer, "maxpeer", 10, "maximum desired peers")
107+
flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
108108
flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
109109
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server")
110110
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")

0 commit comments

Comments
 (0)