Skip to content

Commit

Permalink
CI: Bump bitcoind to 26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk committed Dec 19, 2023
1 parent 83b2771 commit cccb9f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
bitcoind-version: ["0.17.2", "24.0"]
bitcoind-version: ["0.17.2", "26.0"]
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions tests/functional/inc.setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ rm -rf "$bitcoin_test_datadir"
mkdir "$bitcoin_test_datadir"
echo -e "[regtest]\nrpcuser=bitcoinrpc\nrpcpassword=123456abcdef" \
> "$bitcoin_test_datadir/bitcoin.conf"
if [[ "$($bitcoind -version | grep -Eo 'v[0-9]+')" == "v26" ]]; then
echo "deprecatedrpc=create_bdb" >> "$bitcoin_test_datadir}/bitcoin.conf"
fi
$bitcoind -daemon || exit 1
# Wait until bitcoind has started properly
while ! $bitcoin_cli getblockchaininfo 2> /dev/null; do sleep 0.1; done
Expand Down

0 comments on commit cccb9f1

Please sign in to comment.