commit
7a2b93d901
2
app.json
2
app.json
@ -11,7 +11,7 @@
|
|||||||
{
|
{
|
||||||
"NODE_ENV" : "production",
|
"NODE_ENV" : "production",
|
||||||
"RPC_HOST" : "localhost",
|
"RPC_HOST" : "localhost",
|
||||||
"RPC_PORT" : "8080",
|
"RPC_PORT" : "8545",
|
||||||
"LISTENING_PORT" : "30303",
|
"LISTENING_PORT" : "30303",
|
||||||
"INSTANCE_NAME" : "",
|
"INSTANCE_NAME" : "",
|
||||||
"CONTACT_DETAILS" : "",
|
"CONTACT_DETAILS" : "",
|
||||||
|
@ -3,7 +3,7 @@ IP=$(ec2metadata --public-ipv4)
|
|||||||
trap "exit" INT
|
trap "exit" INT
|
||||||
if [[ -f /usr/bin/geth ]];
|
if [[ -f /usr/bin/geth ]];
|
||||||
then
|
then
|
||||||
geth -rpc -rpcport "8080" -maxpeers "50" -loglevel "3" -bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" -nat "extip:$IP"
|
geth -rpc -maxpeers "50" -loglevel "3" -bootnodes "enode://09fbeec0d047e9a37e63f60f8618aa9df0e49271f3fadb2c070dc09e2099b95827b63a8b837c6fd01d0802d457dd83e3bd48bd3e6509f8209ed90dabbc30e3d3@52.16.188.185:30303" -nat "extip:$IP"
|
||||||
else
|
else
|
||||||
eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc --public-ip $IP -v 4
|
eth --bootstrap --peers 50 --remote 52.16.188.185:30303 --mining off --json-rpc --public-ip $IP -v 4
|
||||||
fi
|
fi
|
@ -28,7 +28,7 @@
|
|||||||
{
|
{
|
||||||
"NODE_ENV" : "production",
|
"NODE_ENV" : "production",
|
||||||
"RPC_HOST" : "localhost",
|
"RPC_HOST" : "localhost",
|
||||||
"RPC_PORT" : "8080",
|
"RPC_PORT" : "8548",
|
||||||
"LISTENING_PORT" : "30303",
|
"LISTENING_PORT" : "30303",
|
||||||
"INSTANCE_NAME" : "",
|
"INSTANCE_NAME" : "",
|
||||||
"CONTACT_DETAILS" : "",
|
"CONTACT_DETAILS" : "",
|
||||||
|
Loading…
Reference in New Issue
Block a user