From 2f717356488aa6a8da06afea95ce3c354111e015 Mon Sep 17 00:00:00 2001 From: Nathan Fretz Date: Wed, 17 Sep 2025 09:19:55 +1000 Subject: [PATCH] Update Knots for latest ecosystem compatibility (#3619) --- bitcoin-knots/docker-compose.yml | 5 +++-- bitcoin-knots/exports.sh | 3 +++ bitcoin-knots/umbrel-app.yml | 23 +++++++++++++++++++++-- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/bitcoin-knots/docker-compose.yml b/bitcoin-knots/docker-compose.yml index d799060f..4233ba0f 100644 --- a/bitcoin-knots/docker-compose.yml +++ b/bitcoin-knots/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 3000 app: - image: ghcr.io/retropex/umbrel-bitcoin-knots:1.0.3-knots.v29.1@sha256:c2373ba7471af85640714ba632d2ddfc33053e8e588b1c2a07cead62be5344f1 + image: ghcr.io/retropex/umbrel-bitcoin-knots:1.0.4-knots.v29.1@sha256:f0905a6e376a50e69d0c7e03a4382d9d0b9515bc55fe81d0327d94591cfbe7b4 user: "1000:1000" restart: on-failure stop_grace_period: 15m30s @@ -28,8 +28,9 @@ services: BITCOIND_EXTRA_ARGS: '-deprecatedrpc=create_bdb' # We can remove depratedrpc=create_bdb in a future update once Jam (JoinMarket) implements descriptor wallet support # BITCOIND CONF FILE SETTINGS - APPS_SUBNET: "${NETWORK_IP}/16" # used to whitelist local apps as both peers (whitelist) and rpc connections (rpcallowip) + APPS_SUBNET: "${NETWORK_IP}/16" # used for rpcallowip P2P_PORT: "${APP_BITCOIN_KNOTS_P2P_PORT}" # port, bind (also used for connect details) + P2P_WHITEBIND_PORT: "${APP_BITCOIN_KNOTS_P2P_WHITEBIND_PORT}" # Additional inbound P2P listener granting whitelisted permissions (whitebind) to this port; for trusted internal apps only; do not publish externally RPC_PORT: "${APP_BITCOIN_KNOTS_RPC_PORT}" # rpcport (also used for rpc client and connect details) TOR_PORT: "${APP_BITCOIN_KNOTS_TOR_PORT}" # bind=onion ZMQ_RAWBLOCK_PORT: "${APP_BITCOIN_KNOTS_ZMQ_RAWBLOCK_PORT}" # zmqpubrawblock diff --git a/bitcoin-knots/exports.sh b/bitcoin-knots/exports.sh index 913dd40a..0ad73e88 100644 --- a/bitcoin-knots/exports.sh +++ b/bitcoin-knots/exports.sh @@ -5,6 +5,8 @@ export APP_BITCOIN_KNOTS_I2P_DAEMON_IP="10.21.22.13" export APP_BITCOIN_KNOTS_DATA_DIR="${EXPORTS_APP_DIR}/data/bitcoin" export APP_BITCOIN_KNOTS_RPC_PORT="9332" export APP_BITCOIN_KNOTS_P2P_PORT="9333" +# Additional inbound P2P listener granting whitelisted permissions (whitebind) to this port; for trusted internal apps only; do not publish externally +export APP_BITCOIN_KNOTS_P2P_WHITEBIND_PORT="9335" export APP_BITCOIN_KNOTS_TOR_PORT="8334" export APP_BITCOIN_KNOTS_ZMQ_RAWBLOCK_PORT="48332" export APP_BITCOIN_KNOTS_ZMQ_RAWTX_PORT="48333" @@ -79,6 +81,7 @@ for var in \ DATA_DIR \ RPC_PORT \ P2P_PORT \ + P2P_WHITEBIND_PORT \ TOR_PORT \ ZMQ_RAWBLOCK_PORT \ ZMQ_RAWTX_PORT \ diff --git a/bitcoin-knots/umbrel-app.yml b/bitcoin-knots/umbrel-app.yml index f707eef0..3399ccd7 100644 --- a/bitcoin-knots/umbrel-app.yml +++ b/bitcoin-knots/umbrel-app.yml @@ -4,7 +4,7 @@ implements: - bitcoin category: bitcoin name: Bitcoin Knots -version: "29.1" +version: "29.1-1" tagline: Run your personal node powered by Bitcoin Knots description: >- Take control of your digital sovereignty by choosing Bitcoin Knots to run your node! By using Knots, you’re supporting a version of Bitcoin that prioritizes efficiency, security, and flexibility. With Bitcoin Knots’ enhanced configuration options, you can fine-tune your node to help keep the network clean and resilient, actively reducing unnecessary load from spam or parasitic transactions. @@ -36,7 +36,10 @@ gallery: path: "" defaultPassword: "" releaseNotes: >- - Update to Bitcoin Knots v29.1.knots20250903 - release notes at https://github.com/bitcoinknots/bitcoin/releases/tag/v29.1.knots20250903 + This update ensures compatibility with the latest electrs and btcpay-server updates on umbrelOS. Please restart Electrs and BTCPay Server (if you have them installed) after updating Knots. + + + Full Bitcoin Knots v29.1.knots20250903 release notes are found at https://github.com/bitcoinknots/bitcoin/releases/tag/v29.1.knots20250903 widgets: - id: "stats" type: "four-stats" @@ -71,5 +74,21 @@ widgets: text: "83%" progressLabel: "In progress" progress: 0.83 +backupIgnore: + - data/bitcoin/blocks + - data/bitcoin/chainstate + - data/bitcoin/indexes + - data/bitcoin/testnet3/blocks + - data/bitcoin/testnet3/chainstate + - data/bitcoin/testnet3/indexes + - data/bitcoin/testnet4/blocks + - data/bitcoin/testnet4/chainstate + - data/bitcoin/testnet4/indexes + - data/bitcoin/signet/blocks + - data/bitcoin/signet/chainstate + - data/bitcoin/signet/indexes + - data/bitcoin/regtest/blocks + - data/bitcoin/regtest/chainstate + - data/bitcoin/regtest/indexes submitter: Léo Haf submission: https://github.com/getumbrel/umbrel-apps/pull/953