From d980fedfa61a73abca6592bc583a953cad235f15 Mon Sep 17 00:00:00 2001 From: Shadowy Super Coder Date: Tue, 11 Mar 2025 16:15:04 -0600 Subject: [PATCH] update to 28.1 --- bitcoin | 2 +- manifest.yaml | 4 ++-- scripts/services/migrations.ts | 29 ++++++++++++++++++++++++++++- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/bitcoin b/bitcoin index 1101837..32efe85 160000 --- a/bitcoin +++ b/bitcoin @@ -1 +1 @@ -Subproject commit 110183746150428e6385880c79f8c5733b1361ba +Subproject commit 32efe850438ef22e2de39e562af557872a402c31 diff --git a/manifest.yaml b/manifest.yaml index 194bb9c..c61fef3 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,9 +1,9 @@ id: bitcoind title: "Bitcoin Core" -version: 28.0.0.1 +version: 28.1.0 eos-version: 0.3.4.4 release-notes: | - * Update Bitcoin to [v28.0](https://github.com/bitcoin/bitcoin/releases/tag/v28.0) + * Update Bitcoin to [v28.1](https://github.com/bitcoin/bitcoin/releases/tag/v28.1) license: MIT wrapper-repo: https://github.com/Start9Labs/bitcoind-startos upstream-repo: https://github.com/bitcoin/bitcoin diff --git a/scripts/services/migrations.ts b/scripts/services/migrations.ts index 5244173..327472d 100644 --- a/scripts/services/migrations.ts +++ b/scripts/services/migrations.ts @@ -294,6 +294,33 @@ export const migration: T.ExpectedExports.migration = type: "down", }), }, + "28.1.0": { + up: compat.migrations.updateConfig( + (config) => { + if ( + matches + .shape({ + advanced: matches.shape({ + blocknotify: matches.any, + }), + }) + .test(config) + ) { + throw new Error("Upgrading from Knots to Core is prohibited."); + } + return config; + }, + true, + { + version: "28.1.0", + type: "up", + } + ), + down: compat.migrations.updateConfig((config: any) => config, true, { + version: "28.1.0", + type: "down", + }), + }, }, - "28.0.0.1" + "28.1.0" );