remove lnbits from regtest
This commit is contained in:
parent
be363b8ffd
commit
e7527957df
4 changed files with 20 additions and 68 deletions
|
|
@ -75,7 +75,6 @@ lnbits-regtest-init(){
|
|||
lnbits-bitcoin-init
|
||||
lnbits-lightning-sync
|
||||
lnbits-lightning-init
|
||||
wait-for-lnbits
|
||||
}
|
||||
|
||||
lnbits-lightning-sync(){
|
||||
|
|
@ -143,18 +142,6 @@ lnbits-lightning-init(){
|
|||
|
||||
}
|
||||
|
||||
wait-for-lnbits(){
|
||||
while true; do
|
||||
statuscode=$(curl -s -o /dev/null -w "%{http_code}" "http://localhost:5000")
|
||||
if [[ "$statuscode" == "200" ]]; then
|
||||
break
|
||||
echo "lnbits is online!"
|
||||
fi
|
||||
echo "waiting for lnbits to come online..."
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
|
||||
wait-for-lnd-channel(){
|
||||
while true; do
|
||||
pending=$(lncli-sim $1 pendingchannels | jq -r '.pending_open_channels | length')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue