Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/configure_test_suite_network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,15 @@ MASTERNODE_OWNER_MASTER_PRIVATE_KEY=$(yq .hp_masternodes."$MASTERNODE_NAME".owne

if [[ "$NETWORK_STRING" == "devnet"* ]]; then
NETWORK=devnet
INSIGHT_URL="http://insight.${NETWORK_STRING#devnet-}.networks.dash.org:3001/insight-api/sync"
CERT_FLAG=":self-signed"
ST_EXECUTION_INTERVAL=5000
else
NETWORK=testnet
INSIGHT_URL="https://testnet-insight.dashevo.org/insight-api/sync"
CERT_FLAG=""
ST_EXECUTION_INTERVAL=15000
fi
SKIP_SYNC_BEFORE_HEIGHT=4800 # $(curl -s $INSIGHT_URL | jq '.height - 200')
INSIGHT_URL="http://insight.${NETWORK_STRING#devnet-}.networks.dash.org:3001/insight-api/sync"
Comment thread
shumkov marked this conversation as resolved.
SKIP_SYNC_BEFORE_HEIGHT=$(curl -s $INSIGHT_URL | jq '.height - 200')
Comment thread
shumkov marked this conversation as resolved.

# check variables are not empty
if [ -z "$FAUCET_ADDRESS" ] || \
Expand Down