mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 18:00:46 +00:00
add ip address to devnet nodes when show up in stats server
This commit is contained in:
parent
fc3f011d58
commit
d57ea6d79c
1 changed files with 2 additions and 1 deletions
|
|
@ -45,8 +45,9 @@ else
|
||||||
log_level=$LOG_LEVEL
|
log_level=$LOG_LEVEL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
netstats="${NODE_NAME}-${wallet}:xinfin_xdpos_hybrid_network_stats@devnetstats.apothem.network:2000"
|
|
||||||
INSTANCE_IP=$(curl https://checkip.amazonaws.com)
|
INSTANCE_IP=$(curl https://checkip.amazonaws.com)
|
||||||
|
netstats="${NODE_NAME}-${wallet}-${INSTANCE_IP}:xinfin_xdpos_hybrid_network_stats@devnetstats.apothem.network:2000"
|
||||||
|
|
||||||
|
|
||||||
echo "Running a node with wallet: ${wallet} at IP: ${INSTANCE_IP}"
|
echo "Running a node with wallet: ${wallet} at IP: ${INSTANCE_IP}"
|
||||||
echo "Starting nodes with $bootnodes ..."
|
echo "Starting nodes with $bootnodes ..."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue