tools/lightning-downgrade: tool to downgrade (offline) v25.12 to v25.09.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: tools: `lightningd-downgrade` can downgrade your database from v25.12 to v25.09 if something goes wrong.
This commit is contained in:
Rusty Russell
2025-11-28 06:42:32 +10:30
parent 76ad32ec88
commit 9981e238a3
5 changed files with 348 additions and 2 deletions

View File

@@ -41,6 +41,8 @@ WALLET_SQL_FILES := \
wallet/test/run-wallet.c \
wallet/test/run-chain_moves_duplicate-detect.c \
wallet/test/run-migrate_remove_chain_moves_duplicates.c \
tools/lightning-downgrade.c \
wallet/statements_gettextgen.po: $(WALLET_SQL_FILES) $(FORCE)
@if $(call SHA256STAMP_CHANGED); then \