From f5957cd1a2762c23d1ecb065571b79055044d6b2 Mon Sep 17 00:00:00 2001 From: Impa10r Date: Sat, 14 Dec 2024 19:22:07 +0100 Subject: [PATCH 1/5] Update Elements Core to v23.2.4 --- elements/docker-compose.yml | 4 +++- elements/umbrel-app.yml | 11 +++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/elements/docker-compose.yml b/elements/docker-compose.yml index db643aec2f..133c00b355 100644 --- a/elements/docker-compose.yml +++ b/elements/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 8080 node: - image: ghcr.io/vulpemventures/elements:23.2.1@sha256:8bd481aaa0f055b59a8c0bb7e56b0f1d1a55143acbb0d07465778538730c41b3 + image: ghcr.io/vulpemventures/elements:23.2.4@sha256:f4bb9af7f2278e6b6a7a6160f5f17eec28e85a2bf47ebbdc96d0e64caa582d16 restart: on-failure stop_grace_period: 1m ports: @@ -39,6 +39,8 @@ services: - -port=$APP_ELEMENTS_NODE_P2P_PORT - -blockfilterindex=1 - -peerblockfilters=1 + # Enable creating discounted CT on mainnet + - -creatediscountct=1 web: image: ghcr.io/tiero/elements-web:v0.0.3@sha256:b80dc0df2a4693668a97b874aad6d0a8d3239d03f4d05b4342600166934d0b87 diff --git a/elements/umbrel-app.yml b/elements/umbrel-app.yml index bd31b80b0e..17b6b154c1 100644 --- a/elements/umbrel-app.yml +++ b/elements/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1.1 id: elements category: bitcoin name: Elements Core -version: "23.2.1" +version: "23.2.4" tagline: Liquid Network full node description: >- Elements is an open source full node implementation to run the Liquid @@ -13,13 +13,12 @@ description: >- This app has the potential to use up to 6GB of RAM. It's important to confirm that your device meets the necessary hardware requirements before installing and running the app. releaseNotes: >- - This release updates elements from version 22.1.1 to 23.2.1, and features various bug fixes and improvements such as: + This release updates elements from version 23.2.1 to 23.2.4, and features various bug fixes and improvements such as: - - - Brings Elements up to date with Bitcoin Core version 23.2 - - - Fixes a problem in the getnewaddress rpc: getnewaddress will now return an unblinded bech32 address even when -blindedaddresses=1 in config + - Enables discounted CT transactions + - Brings Elements up to date with Bitcoin Core version 28 + - In contrast to Bitcoin, Elements is not changing the default wallet format from legacy to descriptors, this is because many things (like peg-ins and peg-outs) still work only on legacy wallets. From fc431377ef4020de484a04cc71d2a7cdd566adbf Mon Sep 17 00:00:00 2001 From: Impa10r Date: Sun, 15 Dec 2024 02:20:42 +0100 Subject: [PATCH 2/5] PeerSwap v1.7.4 --- peerswap/docker-compose.yml | 7 ++++++- peerswap/umbrel-app.yml | 8 ++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/peerswap/docker-compose.yml b/peerswap/docker-compose.yml index 7cdd08325b..490491ab68 100644 --- a/peerswap/docker-compose.yml +++ b/peerswap/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 1984 web: - image: ghcr.io/impa10r/peerswap-web:v1.6.9@sha256:a925714945527bae8d792c47f83ed13048f192e3613b06e15b9af4bd60cfe504 + image: ghcr.io/impa10r/peerswap-web:v1.7.4@sha256:a817a543d707d5209e7a6b16946ab728fbe16b660c23a4404b3e1160b5d006bf user: "1000:1000" restart: on-failure stop_grace_period: 1m @@ -25,6 +25,11 @@ services: ELEMENTS_WALLET: peerswap ELEMENTS_FOLDER: /home/elements/.elements ELEMENTS_FOLDER_MAPPED: /home/peerswap/.elements + # Bitcoin RPC + BITCOIN_HOST: $APP_BITCOIN_NODE_IP + BITCOIN_PORT: $APP_BITCOIN_RPC_PORT + BITCOIN_USER: $APP_BITCOIN_RPC_USER + BITCOIN_PASS: $APP_BITCOIN_RPC_PASS volumes: - ${APP_DATA_DIR}/data:/home/peerswap/.peerswap - ${APP_LIGHTNING_NODE_DATA_DIR}:/home/peerswap/.lnd:ro diff --git a/peerswap/umbrel-app.yml b/peerswap/umbrel-app.yml index 6df16d7f91..6ad8a714ef 100644 --- a/peerswap/umbrel-app.yml +++ b/peerswap/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1 id: peerswap category: bitcoin name: PeerSwap -version: "1.6.9" +version: "1.7.4" tagline: Balance your lightning channels with Liquid BTC description: PeerSwap enables Lightning Network nodes to balance their channels by facilitating atomic swaps with direct peers. PeerSwap enhances decentralization of the Lightning Network by enabling all nodes to be their own swap provider. No centralized coordinator, no 3rd party rent collector, and lowest cost channel balancing means small nodes can better compete with large nodes. Includes channel AutoFees, Liquid Peg-in and BTC send with coin select + fee bump functionality. developer: PeerSwap Project @@ -21,4 +21,8 @@ path: "" submitter: Impa10r submission: https://github.com/getumbrel/umbrel-apps/pull/932 releaseNotes: >- - Bug fixes and improvements. See full changelog here: https://github.com/Impa10r/peerswap-web/blob/main/CHANGELOG.md + This release upgrades PeerSwap to v4rc1 and enables Liquid CT fee discounts on mainnet. + + Warning: only peers who upgraded to v4 will be visible in Peer List. + + Full changelog: https://github.com/Impa10r/peerswap-web/blob/main/CHANGELOG.md From 2f1e41336b1755a6a2b9fdc74610d12a389d9c5c Mon Sep 17 00:00:00 2001 From: Impa10r Date: Sat, 28 Dec 2024 14:03:53 +0100 Subject: [PATCH 3/5] Push PSWeb to v1.7.5 --- peerswap/docker-compose.yml | 2 +- peerswap/umbrel-app.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/peerswap/docker-compose.yml b/peerswap/docker-compose.yml index 490491ab68..7de4d1f108 100644 --- a/peerswap/docker-compose.yml +++ b/peerswap/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 1984 web: - image: ghcr.io/impa10r/peerswap-web:v1.7.4@sha256:a817a543d707d5209e7a6b16946ab728fbe16b660c23a4404b3e1160b5d006bf + image: ghcr.io/impa10r/peerswap-web:v1.7.5@sha256:9ce9a183c5b7f689ba036b4736a0eb4737978208b1afb4f1e8981860a5036cb4 user: "1000:1000" restart: on-failure stop_grace_period: 1m diff --git a/peerswap/umbrel-app.yml b/peerswap/umbrel-app.yml index 6ad8a714ef..c0b5e1fe97 100644 --- a/peerswap/umbrel-app.yml +++ b/peerswap/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1 id: peerswap category: bitcoin name: PeerSwap -version: "1.7.4" +version: "1.7.5" tagline: Balance your lightning channels with Liquid BTC description: PeerSwap enables Lightning Network nodes to balance their channels by facilitating atomic swaps with direct peers. PeerSwap enhances decentralization of the Lightning Network by enabling all nodes to be their own swap provider. No centralized coordinator, no 3rd party rent collector, and lowest cost channel balancing means small nodes can better compete with large nodes. Includes channel AutoFees, Liquid Peg-in and BTC send with coin select + fee bump functionality. developer: PeerSwap Project From 9aa416470855ff1abb047d796f03c1d8a7b9f349 Mon Sep 17 00:00:00 2001 From: Impa10r Date: Sat, 28 Dec 2024 15:07:05 +0100 Subject: [PATCH 4/5] Fix linter --- elements/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elements/docker-compose.yml b/elements/docker-compose.yml index 133c00b355..0884d44efa 100644 --- a/elements/docker-compose.yml +++ b/elements/docker-compose.yml @@ -8,6 +8,7 @@ services: node: image: ghcr.io/vulpemventures/elements:23.2.4@sha256:f4bb9af7f2278e6b6a7a6160f5f17eec28e85a2bf47ebbdc96d0e64caa582d16 + user: "1000:1000" restart: on-failure stop_grace_period: 1m ports: @@ -44,6 +45,7 @@ services: web: image: ghcr.io/tiero/elements-web:v0.0.3@sha256:b80dc0df2a4693668a97b874aad6d0a8d3239d03f4d05b4342600166934d0b87 + user: "1000:1000" depends_on: - node restart: on-failure @@ -62,7 +64,7 @@ services: user: "1000:1000" restart: on-failure volumes: - - ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro + - ${APP_DATA_DIR}:/etc/tor:ro - ${TOR_DATA_DIR}:/data environment: HOME: "/tmp" From ad2814a34836b63e11ad2ade1d2135bbf5fe9a43 Mon Sep 17 00:00:00 2001 From: Impa10r Date: Sat, 28 Dec 2024 15:11:19 +0100 Subject: [PATCH 5/5] Fix linter --- elements/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/docker-compose.yml b/elements/docker-compose.yml index 0884d44efa..a2734b35db 100644 --- a/elements/docker-compose.yml +++ b/elements/docker-compose.yml @@ -64,7 +64,7 @@ services: user: "1000:1000" restart: on-failure volumes: - - ${APP_DATA_DIR}:/etc/tor:ro + - ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro - ${TOR_DATA_DIR}:/data environment: HOME: "/tmp"