Skip to content

Commit 3bf6e0a

Browse files
committed
Prefactor: Update bitcoind used in CI to v27.2
.. we need to bump the version, while making sure `electrsd` and CLN CI are using the same version. As the `blockstream/bitcoind` version hasn't reached v28 yet, we opt for v27.2 everywhere for now.
1 parent 5abb42f commit 3bf6e0a

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

docker-compose-cln.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
version: '3'
2-
31
services:
42
bitcoin:
5-
image: blockstream/bitcoind:24.1
3+
image: blockstream/bitcoind:27.2
64
platform: linux/amd64
75
command:
86
[

scripts/download_bitcoind_electrs.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#!/bin/bash
2+
set -eox pipefail
3+
14
# Our Esplora-based tests require `electrs` and `bitcoind`
25
# binaries. Here, we download the binaries, validate them, and export their
36
# location via `ELECTRS_EXE`/`BITCOIND_EXE` which will be used by the
@@ -7,19 +10,20 @@ HOST_PLATFORM="$(rustc --version --verbose | grep "host:" | awk '{ print $2 }')"
710
ELECTRS_DL_ENDPOINT="https://github.com/RCasatta/electrsd/releases/download/electrs_releases"
811
ELECTRS_VERSION="esplora_a33e97e1a1fc63fa9c20a116bb92579bbf43b254"
912
BITCOIND_DL_ENDPOINT="https://bitcoincore.org/bin/"
10-
BITCOIND_VERSION="25.1"
13+
BITCOIND_VERSION="27.2"
1114
if [[ "$HOST_PLATFORM" == *linux* ]]; then
1215
ELECTRS_DL_FILE_NAME=electrs_linux_"$ELECTRS_VERSION".zip
1316
ELECTRS_DL_HASH="865e26a96e8df77df01d96f2f569dcf9622fc87a8d99a9b8fe30861a4db9ddf1"
1417
BITCOIND_DL_FILE_NAME=bitcoin-"$BITCOIND_VERSION"-x86_64-linux-gnu.tar.gz
15-
BITCOIND_DL_HASH="a978c407b497a727f0444156e397b50491ce862d1f906fef9b521415b3611c8b"
18+
BITCOIND_DL_HASH="acc223af46c178064c132b235392476f66d486453ddbd6bca6f1f8411547da78"
1619
elif [[ "$HOST_PLATFORM" == *darwin* ]]; then
1720
ELECTRS_DL_FILE_NAME=electrs_macos_"$ELECTRS_VERSION".zip
1821
ELECTRS_DL_HASH="2d5ff149e8a2482d3658e9b386830dfc40c8fbd7c175ca7cbac58240a9505bcd"
1922
BITCOIND_DL_FILE_NAME=bitcoin-"$BITCOIND_VERSION"-x86_64-apple-darwin.tar.gz
20-
BITCOIND_DL_HASH="1acfde0ec3128381b83e3e5f54d1c7907871d324549129592144dd12a821eff1"
23+
BITCOIND_DL_HASH="6ebc56ca1397615d5a6df2b5cf6727b768e3dcac320c2d5c2f321dcaabc7efa2"
2124
else
22-
echo "\n\nUnsupported platform: $HOST_PLATFORM Exiting.."
25+
printf "\n\n"
26+
echo "Unsupported platform: $HOST_PLATFORM Exiting.."
2327
exit 1
2428
fi
2529

0 commit comments

Comments
 (0)