From 3f7d7798da62ff413addb3c6146d2bdc1930d530 Mon Sep 17 00:00:00 2001 From: theborakompanioni Date: Fri, 8 Mar 2024 16:35:02 +0100 Subject: [PATCH] dev(regtest): update lnd instance from v0.17.2-beta to v0.17.4-beta --- .../lightning-regtest-setup-devel/docker-compose.yml | 6 +++--- .../regtest/setup/RegtestLightningNetworkSetup.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/regtest/lightning-regtest-setup-devel/docker-compose.yml b/docker/regtest/lightning-regtest-setup-devel/docker-compose.yml index ff0e82d3d..ef47ef4cf 100644 --- a/docker/regtest/lightning-regtest-setup-devel/docker-compose.yml +++ b/docker/regtest/lightning-regtest-setup-devel/docker-compose.yml @@ -4,7 +4,7 @@ services: postgres: restart: always container_name: regtest_db - image: postgres:16.0-alpine3.18 + image: postgres:16.2-alpine3.18 volumes: - postgres-data:/postgresql_data - ./data/pg/init:/docker-entrypoint-initdb.d/ @@ -24,7 +24,7 @@ services: bitcoind: container_name: regtest_bitcoind - image: polarlightning/bitcoind:25.0 + image: polarlightning/bitcoind:26.0 restart: always volumes: - bitcoind-data:/home/bitcoin/.bitcoin/regtest @@ -326,7 +326,7 @@ services: lnd6_farid: container_name: regtest_lnd6_farid - image: polarlightning/lnd:0.17.2-beta + image: polarlightning/lnd:0.17.4-beta restart: always depends_on: bitcoind: diff --git a/lightning-regtest/lightning-regtest-setup/src/main/java/org/tbk/lightning/regtest/setup/RegtestLightningNetworkSetup.java b/lightning-regtest/lightning-regtest-setup/src/main/java/org/tbk/lightning/regtest/setup/RegtestLightningNetworkSetup.java index 18481a341..d93b4469f 100644 --- a/lightning-regtest/lightning-regtest-setup/src/main/java/org/tbk/lightning/regtest/setup/RegtestLightningNetworkSetup.java +++ b/lightning-regtest/lightning-regtest-setup/src/main/java/org/tbk/lightning/regtest/setup/RegtestLightningNetworkSetup.java @@ -79,7 +79,7 @@ public void run() throws IOException { } private void beforeSetup() throws IOException { - BitcoindRegtestTestHelper.createDefaultWalletIfNecessary(bitcoinClient); + BitcoindRegtestTestHelper.createDescriptorWallet(bitcoinClient, ""); // it seems to be necessary to mine a single block and wait for the nodes to synchronize. // otherwise, LND seems to be stuck on regtest indefinitely (last check: 2023-12-02). @@ -407,7 +407,7 @@ private static class OnchainFaucet { private Address address; public void init() throws IOException { - BitcoindRegtestTestHelper.createDefaultWalletIfNecessary(bitcoinClient); + BitcoindRegtestTestHelper.createDescriptorWallet(bitcoinClient, ""); this.address = bitcoinClient.getNewAddress();