Digital Currency / Technology

Add as a preferred source on Google

Core Lightning Offers Manual Recovery for Some Lost Payment Outputs

The v26.12rc1 release candidate applies after a peer force-closes a channel, when the closing transaction and required payment records can still be retrieved. Core Lightning published it Nov. 18; it was still pre-release Nov. 25.

Updated 2 min read
Engineers examine a Bitcoin transaction-recovery interface inside a software workspace in Montreal, Canada / TokenPost.ai (macro)
Engineers examine a Bitcoin transaction-recovery interface inside a software workspace in Montreal, Canada / TokenPost.ai (macro)

Core Lightning’s v26.12rc1 release candidate lets operators reclaim some pending Lightning payment outputs tied to Bitcoin (BTC) after a peer force-closes a channel, when the closing transaction and required payment records can still be retrieved.

The feature covers a peer-initiated force-close that posts a closing transaction to Bitcoin. It handles payment-related outputs carried by that transaction, rather than the channel’s main balance.

For an outgoing payment, recovery requires the payment hash and expiry. The related output must remain unspent, and the timelock must end before the funds can be reclaimed. An incoming-payment claim requires the matching preimage and must confirm on Bitcoin before the peer can recover the output after the timelock expires.

The required records span the node’s original secret, channel identifiers, payment details, relevant key data and the peer’s closing transaction. If the peer cooperates, it can provide the public commitment point associated with the transaction without revealing private keys or commitment secrets.

Core Lightning recreates the conditions needed to spend an output and verifies them against the closing transaction. It returns signed transactions for the operator to examine before broadcasting them manually. Payments too small to have an output are outside the tool’s scope.

The payment-output process is separate from Core Lightning’s existing recovery route for a channel’s main balance. That route applies when the recovering node has not seen the peer’s closing transaction. Missing or already-spent outputs cannot be recovered, while Core Lightning’s guidance warns that restoring an old database can make funds permanently unrecoverable.

Core Lightning published v26.12rc1 Nov. 18. It was still listed as a pre-release on Nov. 25.

Related articles

View all