mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-15 11:56:23 +00:00
62e6258f0f
* update cln holdinvoice plugin
DecodeBolt11 was removed in:
d51fd03390
* update CLN to v24.05 and holdinvoice to v3.0.0
* reactivate CLN integration tests
---------
Co-authored-by: jerryfletcher21 <jerryfletcher@cock.email>
18 lines
588 B
Bash
Executable File
18 lines
588 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Start bitcoind in the background
|
|
bitcoind "$@" &
|
|
|
|
# Wait for bitcoind to be ready
|
|
while ! bitcoin-cli --regtest --rpcuser=test --rpcpassword=test getblockchaininfo 2>/dev/null | grep '"verificationprogress":'; do
|
|
echo "Waiting for bitcoind to be ready..."
|
|
sleep 1
|
|
done
|
|
|
|
# Run initialization commands
|
|
bitcoin-cli --regtest --rpcuser=test --rpcpassword=test createwallet default
|
|
bitcoin-cli --regtest --rpcuser=test --rpcpassword=test generatetoaddress 1 $(bitcoin-cli --regtest --rpcuser=test --rpcpassword=test getnewaddress)
|
|
|
|
# Bring bitcoind to the foreground
|
|
wait
|