Increased peer from 10 to 30
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user