1
+ #! /bin/bash
2
+ set -eox pipefail
3
+
1
4
# Our Esplora-based tests require `electrs` and `bitcoind`
2
5
# binaries. Here, we download the binaries, validate them, and export their
3
6
# 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 }')"
7
10
ELECTRS_DL_ENDPOINT=" https://github.com/RCasatta/electrsd/releases/download/electrs_releases"
8
11
ELECTRS_VERSION=" esplora_a33e97e1a1fc63fa9c20a116bb92579bbf43b254"
9
12
BITCOIND_DL_ENDPOINT=" https://bitcoincore.org/bin/"
10
- BITCOIND_VERSION=" 25 .1"
13
+ BITCOIND_VERSION=" 28 .1"
11
14
if [[ " $HOST_PLATFORM " == * linux* ]]; then
12
15
ELECTRS_DL_FILE_NAME=electrs_linux_" $ELECTRS_VERSION " .zip
13
16
ELECTRS_DL_HASH=" 865e26a96e8df77df01d96f2f569dcf9622fc87a8d99a9b8fe30861a4db9ddf1"
14
17
BITCOIND_DL_FILE_NAME=bitcoin-" $BITCOIND_VERSION " -x86_64-linux-gnu.tar.gz
15
- BITCOIND_DL_HASH=" a978c407b497a727f0444156e397b50491ce862d1f906fef9b521415b3611c8b "
18
+ BITCOIND_DL_HASH=" 07f77afd326639145b9ba9562912b2ad2ccec47b8a305bd075b4f4cb127b7ed7 "
16
19
elif [[ " $HOST_PLATFORM " == * darwin* ]]; then
17
20
ELECTRS_DL_FILE_NAME=electrs_macos_" $ELECTRS_VERSION " .zip
18
21
ELECTRS_DL_HASH=" 2d5ff149e8a2482d3658e9b386830dfc40c8fbd7c175ca7cbac58240a9505bcd"
19
22
BITCOIND_DL_FILE_NAME=bitcoin-" $BITCOIND_VERSION " -x86_64-apple-darwin.tar.gz
20
- BITCOIND_DL_HASH=" 1acfde0ec3128381b83e3e5f54d1c7907871d324549129592144dd12a821eff1 "
23
+ BITCOIND_DL_HASH=" c85d1a0ebedeff43b99db2c906b50f14547b84175a4d0ebb039a9809789af280 "
21
24
else
22
- echo " \n\nUnsupported platform: $HOST_PLATFORM Exiting.."
25
+ printf " \n\n"
26
+ echo " Unsupported platform: $HOST_PLATFORM Exiting.."
23
27
exit 1
24
28
fi
25
29
0 commit comments