|
| 1 | +lightning-downgrade -- Tool to revert core lightning to an older version |
| 2 | +======================================================================== |
| 3 | + |
| 4 | +SYNOPSIS |
| 5 | +-------- |
| 6 | + |
| 7 | +```bash |
| 8 | +lightning-downgrade method [ARGUMENTS]... |
| 9 | +``` |
| 10 | + |
| 11 | +DESCRIPTION |
| 12 | +----------- |
| 13 | + |
| 14 | +**lightning-downgrade** reverts an upgrade by modifying the `lightningd` |
| 15 | +database back the prior version. `lightningd` must **not** be running |
| 16 | +at the time. |
| 17 | + |
| 18 | +A downgrade may not be possible if a new feature has been used that would |
| 19 | +be incompatible with an older version. In this case the downgrade will fail |
| 20 | +with a message and nothing will be changed. |
| 21 | + |
| 22 | +Use the latest `lightning-downgrade` to downgrade. For example, the `v25.12` lightning-downgrade won't know how to downgrade `v26.06`. |
| 23 | + |
| 24 | +All minor versions are compatible, so a downgrade to v25.09 will work |
| 25 | +fine with v25.09.1 or v25.09.2, etc. |
| 26 | + |
| 27 | +VERSIONS |
| 28 | +-------- |
| 29 | + |
| 30 | +* *v25.12*: downgrades to v25.09. |
| 31 | + |
| 32 | + Downgrade is not possible if `withhold` `true` has been used with `fundchannel_complete`. |
| 33 | + |
| 34 | +* *v25.09*: downgrade is not supported. |
| 35 | + |
| 36 | +OPTIONS |
| 37 | +------- |
| 38 | + |
| 39 | +* **--lightning-dir**=*DIR* |
| 40 | + |
| 41 | + Set the directory for the lightning daemon we're talking to; defaults to |
| 42 | +*$HOME/.lightning*. |
| 43 | + |
| 44 | +* **--conf**=*PATH* |
| 45 | + |
| 46 | + Sets configuration file (default: **lightning-dir**/*config* ). |
| 47 | + |
| 48 | +* **--network**=*network* |
| 49 | +* **--mainnet** |
| 50 | +* **--testnet** |
| 51 | +* **--testnet4** |
| 52 | +* **--signet** |
| 53 | +* **--regtest** |
| 54 | + |
| 55 | + Sets network explicitly. |
| 56 | + |
| 57 | +* **--rpc-file**=*FILE* |
| 58 | + |
| 59 | + Named pipe to use to talk to lightning daemon: default is |
| 60 | +*lightning-rpc* in the lightning directory. |
| 61 | + |
| 62 | +* **wallet**=*DSN* |
| 63 | + |
| 64 | + Identify the location of the wallet. See lightningd-config(5) for details. |
| 65 | + |
| 66 | +* **--help**/**-h** |
| 67 | + |
| 68 | + Pretty-print summary of options to standard output and exit. The format can |
| 69 | +be changed using `-F`, `-R`, `-J`, `-H` etc. |
| 70 | + |
| 71 | +* **--version**/**-V** |
| 72 | + |
| 73 | + Print version number to standard output and exit. |
| 74 | + |
| 75 | + |
| 76 | +BUGS |
| 77 | +---- |
| 78 | + |
| 79 | +You should report bugs on our github issues page, and maybe submit a fix |
| 80 | +to gain our eternal gratitude! |
| 81 | + |
| 82 | +AUTHOR |
| 83 | +------ |
| 84 | + |
| 85 | +Rusty Russell <<rusty@rustcorp.com.au>> wrote the initial version of **lightning-downgrade** and this man page. |
| 86 | + |
| 87 | +SEE ALSO |
| 88 | +-------- |
| 89 | + |
| 90 | +lightningd(8), lightningd-config(5) |
| 91 | + |
| 92 | +RESOURCES |
| 93 | +--------- |
| 94 | + |
| 95 | +Main web site: <https://github.com/ElementsProject/lightning> |
| 96 | + |
| 97 | +COPYING |
| 98 | +------- |
| 99 | + |
| 100 | +Note: the modules in the ccan/ directory have their own licenses, but |
| 101 | +the rest of the code is covered by the BSD-style MIT license. |
| 102 | +Main web site: <https://github.com/ElementsProject/lightning> |
0 commit comments