From 81607a65ca3f66a8169cf9489661207f1604db97 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Wed, 10 Jul 2024 05:12:30 +0300 Subject: [PATCH] Bump minimum required Bitcoin Core version from 0.18 to 0.20 There have been multiple vulnerabilities disclosed for older versions, we should not recommend people using them. * Disclosure of memory DoS due to malicious P2P message - https://bitcoincore.org/en/2024/07/03/disclose-inv-buffer-blowup/ * Disclosure of CPU DoS due to malicious P2P message - https://bitcoincore.org/en/2024/07/03/disclose-getdata-cpu/ * Disclosure of crash due to malicious BIP72 URI - https://bitcoincore.org/en/2024/07/03/disclose-bip70-crash/ --- .github/workflows/unittests.yml | 2 +- docs/INSTALL.md | 2 +- docs/PAYJOIN.md | 2 +- test/Dockerfiles/build_docker.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 50f67084e..4f1872a0a 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -10,7 +10,7 @@ jobs: matrix: os: [macos-13, ubuntu-latest] python-version: ["3.8", "3.12"] - bitcoind-version: ["0.18.0", "27.0"] + bitcoind-version: ["0.20.0", "27.0"] steps: - uses: actions/checkout@v3 diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 37e08b038..8e120e01d 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -137,7 +137,7 @@ If (a), then note the following two points: ##### Installing Bitcoin Core -If you haven't done so yet, install Bitcoin Core, version 0.18 or newer, as described [here](https://bitcoin.org/en/full-node#windows-10). After starting it for the first time, it will start the Initial Block Download. JoinMarket cannot be used until this is finished. More information on that can be found [here](https://bitcoin.org/en/full-node#initial-block-downloadibd). +If you haven't done so yet, install Bitcoin Core, version 0.20 or newer, as described [here](https://bitcoin.org/en/full-node#windows-10). After starting it for the first time, it will start the Initial Block Download. JoinMarket cannot be used until this is finished. More information on that can be found [here](https://bitcoin.org/en/full-node#initial-block-downloadibd). ##### Configuring Bitcoin Core diff --git a/docs/PAYJOIN.md b/docs/PAYJOIN.md index df9e9cc33..1a5f1e47d 100644 --- a/docs/PAYJOIN.md +++ b/docs/PAYJOIN.md @@ -39,7 +39,7 @@ So just skip those sections if you already know it. ### Preparatory step: configuring for Bitcoin Core. -Joinmarket currently requires a Bitcoin Core full node, version 0.18 or newer, although it can be pruned. +Joinmarket currently requires a Bitcoin Core full node, version 0.20 or newer, although it can be pruned. First thing to do: in `scripts/`, run: diff --git a/test/Dockerfiles/build_docker.sh b/test/Dockerfiles/build_docker.sh index ec9929891..04d55b1e6 100755 --- a/test/Dockerfiles/build_docker.sh +++ b/test/Dockerfiles/build_docker.sh @@ -15,7 +15,7 @@ build_docker () return 0 fi - core_version='0.18.0' + core_version='0.20.0' core_dist="bitcoin-${core_version}-x86_64-linux-gnu.tar.gz" core_url="https://bitcoincore.org/bin/bitcoin-core-${core_version}/${core_dist}" declare -A deps=( [${core_dist}]="${core_url}" )