diff --git a/README.md b/README.md index 7e13600..aff3276 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ Configure the app modifying [processes.json](/eth-net-intelligence-api/blob/mast "NODE_ENV" : "production", // tell the client we're in production environment "RPC_HOST" : "localhost", // eth JSON-RPC host "RPC_PORT" : "8080", // eth JSON-RPC port - "ETH_IMPLEMENTATION" : "cpp", // eth implementation: "cpp" or "go" "INSTANCE_NAME" : "", "WS_SERVER" : "", // path to eth-netstats WebSockets api server "WS_SECRET" : "", // WebSockets api server secret used for login diff --git a/bin/build.sh b/bin/build.sh index 2dc3c05..1739962 100644 --- a/bin/build.sh +++ b/bin/build.sh @@ -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 diff --git a/bin/eth.sh b/bin/eth.sh index 4a2a35b..3ae8420 100644 --- a/bin/eth.sh +++ b/bin/eth.sh @@ -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 \ No newline at end of file