Speed up wait on BTC script
This commit is contained in:
parent
02c4bd1136
commit
f3f27bafb5
|
@ -6,8 +6,8 @@ set -e
|
|||
# Wait to see if bitcoind is synced
|
||||
echo "Checking if Bitcoin is synced..."
|
||||
while [ ! -f "/mnt/hdd/mynode/.mynode_bitcoind_synced" ]; do
|
||||
echo "Bitcoin not synced, sleeping for 60 seconds..."
|
||||
/bin/sleep 60s
|
||||
echo "BTC not synced, sleeping 30s"
|
||||
/bin/sleep 30s
|
||||
done
|
||||
|
||||
# And finally, make sure bitcoind responds to API requests
|
||||
|
|
Loading…
Reference in New Issue
Block a user