From d4b25d565d36627b87c608d474c2500f1f1ec50c Mon Sep 17 00:00:00 2001
From: Bastien Teinturier <31281497+t-bast@users.noreply.github.com>
Date: Wed, 9 Jun 2021 14:20:00 +0200
Subject: [PATCH] Udpate to Bitcoin Core 0.21.1 (#1841)
Update the default version of `bitcoind` to 0.21.1.
Deprecate support for version 0.18.1 and 0.19.1.
---
README.md | 2 +-
eclair-core/pom.xml | 18 +++++++++---------
.../blockchain/bitcoind/BitcoindService.scala | 2 +-
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 7b6b7d2300..58607f3288 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ You will find detailed guides and frequently asked questions there.
### Configuring Bitcoin Core
-:warning: Eclair requires Bitcoin Core 0.18.1, 0.19.1 or 0.20.1. If you are upgrading an existing wallet, you may need to create a new address and send all your funds to that address.
+:warning: Eclair requires Bitcoin Core 0.20.1 or 0.21.1. If you are upgrading an existing wallet, you may need to create a new address and send all your funds to that address.
Eclair needs a _synchronized_, _segwit-ready_, **_zeromq-enabled_**, _wallet-enabled_, _non-pruning_, _tx-indexing_ [Bitcoin Core](/~https://github.com/bitcoin/bitcoin) node.
diff --git a/eclair-core/pom.xml b/eclair-core/pom.xml
index 1009d09255..8b8496b062 100644
--- a/eclair-core/pom.xml
+++ b/eclair-core/pom.xml
@@ -88,9 +88,9 @@
true
- https://bitcoincore.org/bin/bitcoin-core-0.20.1/bitcoin-0.20.1-x86_64-linux-gnu.tar.gz
- 265d32d3f7645d0a4fe27a698bb8b3b3
- 5a814f983cd32a0dea67a9c3c36d494130cad7c5
+ https://bitcoincore.org/bin/bitcoin-core-0.21.1/bitcoin-0.21.1-x86_64-linux-gnu.tar.gz
+ e283a98b5e9f0b58e625e1dde661201d
+ 5101e29b39c33cc8e40d5f3b46dda37991b037a0
@@ -101,9 +101,9 @@
- https://bitcoincore.org/bin/bitcoin-core-0.20.1/bitcoin-0.20.1-osx64.tar.gz
- 765fcc62c3ef470cbc23933c31c2e2f2
- 2c1ba1a4c05448b81da2161aa3ab94c047681e7b
+ https://bitcoincore.org/bin/bitcoin-core-0.21.1/bitcoin-0.21.1-osx64.tar.gz
+ dfd1f323678eede14ae2cf6afb26ff6a
+ 4273696f90a2648f90142438221f5d1ade16afa2
@@ -114,9 +114,9 @@
- https://bitcoincore.org/bin/bitcoin-core-0.20.1/bitcoin-0.20.1-win64.zip
- 966568365067add2744ae4030c0d4165
- 4fe72c5848a2ddc462083db891d6820a6f4ef2ee
+ https://bitcoincore.org/bin/bitcoin-core-0.21.1/bitcoin-0.21.1-win64.zip
+ 1c6f5081ea68dcec7eddb9e6cdfc508d
+ a782cd413fc736f05fad3831d6a9f59dde779520
diff --git a/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoindService.scala b/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoindService.scala
index 4923aae9e9..23222fc86c 100644
--- a/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoindService.scala
+++ b/eclair-core/src/test/scala/fr/acinq/eclair/blockchain/bitcoind/BitcoindService.scala
@@ -53,7 +53,7 @@ trait BitcoindService extends Logging {
val INTEGRATION_TMP_DIR: File = TestUtils.newIntegrationTmpDir()
logger.info(s"using tmp dir: $INTEGRATION_TMP_DIR")
- val PATH_BITCOIND = new File(TestUtils.BUILD_DIRECTORY, "bitcoin-0.20.1/bin/bitcoind")
+ val PATH_BITCOIND = new File(TestUtils.BUILD_DIRECTORY, "bitcoin-0.21.1/bin/bitcoind")
val PATH_BITCOIND_DATADIR = new File(INTEGRATION_TMP_DIR, "datadir-bitcoin")
var bitcoind: Process = _