prepare for new testnet

This commit is contained in:
MestryOmkar 2018-11-17 17:20:48 +05:30
parent ece14048a5
commit 2c6bba7faf
2 changed files with 68 additions and 29 deletions

View file

@ -28,7 +28,7 @@ accountsCount=$(
# file to env
for env in IDENTITY PASSWORD PRIVATE_KEY BOOTNODES WS_SECRET NETSTATS_HOST \
NETSTATS_PORT EXTIP SYNC_MODE NETWORK_ID ANNOUNCE_TXS; do
NETSTATS_PORT EXTIP SYNC_MODE NETWORK_ID ANNOUNCE_TXS XDC_TESTNET; do
file=$(eval echo "\$${env}_FILE")
if [[ -f $file ]] && [[ ! -z $file ]]; then
echo "Replacing $env by $file"
@ -144,6 +144,11 @@ if [[ ! -z $ANNOUNCE_TXS ]]; then
params="$params --announce-txs"
fi
# testnet only
if [[ ! -z $XDC_TESTNET ]]; then
params="$params --XDC-testnet"
fi
# dump
echo "dump: $IDENTITY $account $BOOTNODES"

File diff suppressed because one or more lines are too long