eth.sh tweaking

This commit is contained in:
cubedro 2015-06-17 15:09:34 +03:00
parent df90419940
commit 354222a1e0
1 changed files with 4 additions and 7 deletions

View File

@ -20,17 +20,14 @@ if [[ -f $(which geth 2>/dev/null) ]]
then
echo "Starting geth"
echo geth --ipcdisable --rpc --maxpeers "50" --verbosity "4" --bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" --nat "extip:$IP"
# geth --ipcdisable --rpc --maxpeers "50" --verbosity "4" --bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" --nat "extip:$IP"
# geth --ipcdisable --rpc --verbosity "3" --bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" --nat "extip:$IP"
geth --ipcdisable --rpc --verbosity "3" --nat "extip:$IP"
geth --ipcdisable --rpc --maxpeers "50" --verbosity "2" --bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" --nat "extip:$IP"
elif [[ -f $(which eth 2>/dev/null) ]]
then
echo "Starting eth"
echo eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 3 --public-ip $IP --listen-ip $LOCALIP --master $1
#eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 3 --public-ip $IP --listen-ip $LOCALIP --master $1
# eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 3 --public-ip $IP --master $1
# eth --bootstrap --remote 52.16.188.185:30303 --mining off --json-rpc -v 3 --public-ip $IP --master $1
eth --bootstrap --mining off --json-rpc -v 3 --public-ip $IP --master $1
eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc -v 3 --public-ip $IP --listen-ip $LOCALIP --master $1
else
echo "Ethereum was not found!"
exit 1;