Merge #1398: ci: use bitcoind version 28.1

c17e945fd4bd5b784754e4b8a7c38c5060e37831 ci: use bitcoind version 28.1 (Michael Mallan)
7ad3e3f0d6ff9fe01441d71b6caaed0eb9113e78 ci: use electrs v0.10.6 (Michael Mallan)

Pull request description:

  This resolves #1397.

ACKs for top commit:
  edouardparis:
    ACK c17e945fd4bd5b784754e4b8a7c38c5060e37831

Tree-SHA512: b1a9765a8111c5a1b6a54a77972cfda882212c7281310523f8f4a7feb9dc601ef2383b3ffb46027188281d398af99b7ce5d4cdc143e0358ea8977ab8d2496c20
This commit is contained in:
edouardparis 2025-02-03 15:01:37 +01:00
commit b7a51c8141
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -57,16 +57,19 @@ task:
export IS_NOT_BITCOIND_24=0
else
# Download the bitcoind binary
curl -O https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-x86_64-linux-gnu.tar.gz
echo "23e5ab226d9e01ffaadef5ffabe8868d0db23db952b90b0593652993680bb8ab bitcoin-26.0-x86_64-linux-gnu.tar.gz" | sha256sum -c
tar -xzf bitcoin-26.0-x86_64-linux-gnu.tar.gz
export BITCOIND_PATH=bitcoin-26.0/bin/bitcoind
curl -O https://bitcoincore.org/bin/bitcoin-core-28.1/bitcoin-28.1-x86_64-linux-gnu.tar.gz
echo "07f77afd326639145b9ba9562912b2ad2ccec47b8a305bd075b4f4cb127b7ed7 bitcoin-28.1-x86_64-linux-gnu.tar.gz" | sha256sum -c
tar -xzf bitcoin-28.1-x86_64-linux-gnu.tar.gz
export BITCOIND_PATH=bitcoin-28.1/bin/bitcoind
fi
if [ "$BITCOIN_BACKEND_TYPE" = "electrs" ]; then
curl -OL https://github.com/RCasatta/electrsd/releases/download/electrs_releases/electrs_linux_v0.9.11.zip
echo "2b2f8aef35cd8e16e109b948a903d010aa472f6cdf2147d47e01fd95cd1785da electrs_linux_v0.9.11.zip" | sha256sum -c
unzip electrs_linux_v0.9.11.zip
# We can't use https://github.com/RCasatta/electrsd/releases/download/electrs_releases/electrs_linux_v0.10.6.zip
# for now as that was built with ubuntu 24.04 and requires GLIBC_2.38. Instead, we use a binary that was built on
# ubuntu 20.04:
curl -OL https://github.com/jp1ac4/electrsd/releases/download/electrs-v0.10.6-ubuntu-20.04/electrs_linux_v0.10.6.zip
echo "34934bedbc4003867353f23c7983d4aa2d901dfccfd0bd74167f9fd305c56f7b electrs_linux_v0.10.6.zip" | sha256sum -c
unzip electrs_linux_v0.10.6.zip
chmod 754 electrs
export ELECTRS_PATH=$PWD/electrs
fi