Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ BIN_PROGRAMS = \
cli/lightning-cli \
lightningd/lightningd \
tools/lightning-hsmtool\
tools/lightning-downgrade\
tools/reckless
PKGLIBEXEC_PROGRAMS = \
lightningd/lightning_channeld \
Expand Down
2 changes: 1 addition & 1 deletion doc/getting-started/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ Upgrading your Core Lightning node is the same as installing it. So if you previ

> 🚧
>
> Upgrades to Core Lightning often change the database: once this is done, downgrades are not generally possible. By default, Core Lightning will exit with an error rather than upgrade, unless this is an official released version.
> Upgrades to Core Lightning often change the database: once this is done, downgrades are not generally possible. The exception is [`lightning-downgrade`](ref:lightning-downgrade), which takes the database of a stopped node back to the previous release (v25.12 and later). By default, Core Lightning will exit with an error rather than upgrade, unless this is an official released version.
>
> If you really want to upgrade to a non-release version, you can set `database-upgrade=true` in your configuration file, or start `lightningd` with `--database-upgrade=true`(or set to false to never allow a non-reversible upgrade!)
8 changes: 8 additions & 0 deletions doc/lightning-downgrade.8.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ fine with v25.09.1 or v25.09.2, etc.
VERSIONS
--------

* *v26.12*: downgrades to v26.06.

Askrene impressions are removed from the stored layers, because v26.06 cannot read them.

* *v26.06*: downgrades to v26.04.

* *v26.04*: downgrades to v25.12.

* *v25.12*: downgrades to v25.09.

Downgrade is not possible if `withhold` `true` has been used with `fundchannel_complete`, or if `askrene-bias-node` has been used.
Expand Down
Loading