mirror of
https://github.com/lnbook/lnbook
synced 2024-11-08 19:10:35 +00:00
6f25921336
Sequencing of containers now works.
17 lines
440 B
Bash
17 lines
440 B
Bash
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
echo Waiting for bitcoind to start...
|
|
until bitcoin-cli -rpcconnect=bitcoind -rpcport=18443 -rpcuser=regtest -rpcpassword=regtest getblockchaininfo > /dev/null 2>&1
|
|
do
|
|
echo -n "."
|
|
sleep 1
|
|
done
|
|
|
|
echo Waiting for bitcoind to mine blocks...
|
|
until bitcoin-cli -rpcconnect=bitcoind -rpcport=18443 -rpcuser=regtest -rpcpassword=regtest getbalance | jq -e ". > 0" > /dev/null 2>&1
|
|
do
|
|
echo -n "."
|
|
sleep 1
|
|
done
|