Core Lightning's 26.12 release candidate adds functionality for recovering funds from pending Bitcoin Lightning payments after a node operator loses local channel data and a peer closes the channel on-chain.
The recovery tool, published as a test build on November 18, provides separate methods for reclaiming outgoing funds or collecting incoming funds, depending on what payment information the operator retains after the data loss.
Recovery requirements and process
Both recovery paths require a matching unspent output in the peer's closing transaction. For outgoing payments, the operator needs the payment hash and expiry time. After the timelock expires, the operator can reclaim those funds.
For incoming payments, the operator needs the preimage—the secret matching the payment hash. The operator's claim must be confirmed on-chain before the peer can reclaim the same output once the timelock expires.
The tool reconstructs the spending conditions for each payment and checks them against the closing transaction. It skips payments that are too small to generate a separate output and produces signed transactions for the operator to review and broadcast manually.
Data requirements
Operators must retain the original node secret, peer's closing transaction, channel identifiers, key information, and details for each payment they wish to recover. A cooperating peer can supply the public commitment point without revealing private keys or commitment secrets.
Outputs that are absent or already spent cannot be recovered. Core Lightning's existing recovery process handles the main channel balance separately; this new tool addresses pending-payment outputs specifically.
The feature builds on Core Lightning's wallet recovery guide, which warns that restoring an outdated database can result in permanent fund loss.


