From 8c1dbe28b2b3899550678c63365283e2a5549617 Mon Sep 17 00:00:00 2001 From: michael1011 Date: Tue, 2 Apr 2024 17:43:19 +0200 Subject: [PATCH] chore: update Bitcoin Core to v26.1 (#519) --- docker/bitcoin-core/Dockerfile | 8 +++++--- docker/build.py | 4 ++-- docker/regtest/startRegtest.sh | 2 +- lib/VersionCheck.ts | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docker/bitcoin-core/Dockerfile b/docker/bitcoin-core/Dockerfile index 2b6e085f..4d5ec69f 100644 --- a/docker/bitcoin-core/Dockerfile +++ b/docker/bitcoin-core/Dockerfile @@ -65,8 +65,9 @@ FROM ubuntu:${UBUNTU_VERSION} ARG VERSION -RUN apt-get update && apt-get -y upgrade -RUN apt-get -y install \ +RUN apt-get update && \ + apt-get -y upgrade && \ + apt-get -y install \ libzmq3-dev \ libdb-dev \ libdb++-dev \ @@ -75,7 +76,8 @@ RUN apt-get -y install \ libboost-chrono-dev \ libboost-system-dev \ libboost-thread-dev \ - libboost-filesystem-dev + libboost-filesystem-dev && \ + rm -rf /var/lib/apt/lists/* COPY --from=bitcoin-core /opt/bitcoin-${VERSION}/bin /bin diff --git a/docker/build.py b/docker/build.py index 1c874abc..a0262d6e 100755 --- a/docker/build.py +++ b/docker/build.py @@ -40,7 +40,7 @@ class Image: value="1.22.0-bullseye", ) -BITCOIN_VERSION = "26.0" +BITCOIN_VERSION = "26.1" LITECOIN_VERSION = "0.21.2.2" ELEMENTS_VERSION = "23.2.1" GETH_VERSION = "1.13.14" @@ -101,7 +101,7 @@ class Image: ], ), "regtest": Image( - tag="4.4.3", + tag="4.4.4", arguments=[ UBUNTU_VERSION, BITCOIN_BUILD_ARG, diff --git a/docker/regtest/startRegtest.sh b/docker/regtest/startRegtest.sh index 41aa765c..b3aadae4 100755 --- a/docker/regtest/startRegtest.sh +++ b/docker/regtest/startRegtest.sh @@ -28,7 +28,7 @@ docker run \ -p 9735:9735 \ -p 9293:9293 \ -p 9292:9292 \ - boltz/regtest:4.4.3 + boltz/regtest:4.4.4 docker exec regtest bash -c "cp /root/.lightning/regtest/*.pem /root/.lightning/regtest/certs" docker exec regtest chmod -R 777 /root/.lightning/regtest/certs diff --git a/lib/VersionCheck.ts b/lib/VersionCheck.ts index 2fff0e1c..a72ac206 100644 --- a/lib/VersionCheck.ts +++ b/lib/VersionCheck.ts @@ -79,7 +79,7 @@ class VersionCheck { > = { [ChainClient.serviceName]: { minimal: 220000, - maximal: 260000, + maximal: 260100, }, [ClnClient.serviceName]: { minimal: '23.05',