aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-20 09:33:45 +0800
committerobscuren <geffobscura@gmail.com>2014-12-20 09:33:45 +0800
commit0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4 (patch)
tree3a2dc53b365e6f377fc82a3514150d1297fe549c /cmd
parent1508a23a6fe3cc50f718bfd6c62caae056534c09 (diff)
downloaddexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.tar
dexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.tar.gz
dexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.tar.bz2
dexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.tar.lz
dexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.tar.xz
dexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.tar.zst
dexon-0a9dc1536c5d776844d6947a0090ff7e1a7c6ab4.zip
Increased peer from 10 to 30
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ethereum/flags.go2
-rw-r--r--cmd/mist/flags.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index 783944cf2..85aca47c3 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -85,7 +85,7 @@ func Init() {
flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)")
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
flag.BoolVar(&UseUPnP, "upnp", false, "enable UPnP support")
- flag.IntVar(&MaxPeer, "maxpeer", 10, "maximum desired peers")
+ flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server")
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go
index 2ae0a0487..e49408181 100644
--- a/cmd/mist/flags.go
+++ b/cmd/mist/flags.go
@@ -104,7 +104,7 @@ func Init() {
flag.StringVar(&KeyStore, "keystore", "db", "system to store keyrings: db|file (db)")
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
flag.BoolVar(&UseUPnP, "upnp", true, "enable UPnP support")
- flag.IntVar(&MaxPeer, "maxpeer", 10, "maximum desired peers")
+ flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server")
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")