mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
prepare for new testnet
This commit is contained in:
parent
a3ce354e2f
commit
4cd730b69c
2 changed files with 115 additions and 76 deletions
|
|
@ -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 TOMO_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 $TOMO_TESTNET ]]; then
|
||||
params="$params --tomo-testnet"
|
||||
fi
|
||||
|
||||
# dump
|
||||
echo "dump: $IDENTITY $account $BOOTNODES"
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue