increased maxpeers to 50

This commit is contained in:
cubedro
2015-04-05 16:04:24 +03:00
parent 96071af0ed
commit c4616b497e
3 changed files with 4 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ cd ~
# update packages
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y software-properties-common
# add ethereum repos
sudo add-apt-repository -y ppa:ethereum/ethereum
@@ -29,7 +30,7 @@ sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update -y
# install ethereum & install dependencies
sudo apt-get install -y software-properties-common build-essential git unzip wget nodejs npm ntp cloud-utils $ethtype
sudo apt-get install -y build-essential git unzip wget nodejs npm ntp cloud-utils $ethtype
# add node symlink if it doesn't exist
[[ ! -f /usr/bin/node ]] && sudo ln -s /usr/bin/nodejs /usr/bin/node

View File

@@ -2,7 +2,7 @@
trap "exit" INT
if [[ -f /usr/bin/geth ]];
then
geth -rpc -rpcport "8080" -maxpeers "20" -loglevel "4" -bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303"
geth -rpc -rpcport "8080" -maxpeers "50" -loglevel "4" -bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303"
else
eth -b -x 20 -r 52.16.188.185 -p 30303 -m off -v 4 -j
eth -b -x 50 -r 52.16.188.185 -p 30303 -m off -v 4 -j
fi