Core Lightning 26.12 release candidate adds recovery for some stuck Lightning payments

Editorial illustration: A mechanical claw lifts a glowing gold block from a central metal enclosure between blue channels, with a visible gap in the left channel.

In brief

  • Core Lightning 26.12 release candidate adds a way to reclaim some pending Lightning payment funds.
  • Recovery applies only after local channel data is lost and a peer closes the channel on Bitcoin.
  • Operators need the node secret, closing transaction, channel key data, payment details and peer's public commitment point.
  • Absent or already-spent outputs can't be recovered, and the 26.12 build is still a pre-release.

What the release candidate adds

Core Lightning published the test build on Nov. 18, and it was still at the top of the project's release list on Nov. 25 as a pre-release. Bitcoin Optech covered the feature in its Nov. 20 newsletter and came back to it in its Nov. 24 podcast recap.

The existing recovery process could already reclaim an operator's main channel balance when the peer posted a closing transaction the recovering node had never seen. Core Lightning's wallet recovery guide describes doing that with the node secret and an emergency channel backup. The new tool goes after a separate output: the amount the closing transaction sets aside for a payment that's still pending.

Both recovery paths require a matching output in the closing transaction that remains unspent.

How the recovery works

The path depends on who offered the payment, per the tool's manual as reported by CryptoSlate. For a payment the operator offered, the operator needs the payment hash and the expiry, and can reclaim the funds once the timelock expires. For a payment the peer offered, the operator needs the preimage (the secret that matches the payment hash), and that claim has to confirm on Bitcoin before the peer takes the same output back once its own timelock expires.

It's a race in that second case.

The tool reconstructs the spending conditions for each payment, checks them against the closing transaction and skips payments too small to have an output. It doesn't push anything to the network by itself. It produces signed transactions for the operator to review and broadcast manually.

What operators still need

The requirements aren't light. Per CryptoSlate, an operator needs the original node secret, the peer's closing transaction, channel identifiers and key information, details for each payment being recovered, and the peer's public commitment point tied to that closing transaction. A cooperating peer can supply that commitment point while keeping its private keys and commitment secrets private.

There are hard limits, too. Outputs that are absent or already spent can't be recovered, and Core Lightning's recovery guide warns that restoring an outdated database can permanently lose funds. So this isn't a way to get back every stuck payment; it covers the eligible ones where the operator still has the key records and the peer's help.

Frequently asked questions

When does Core Lightning's new recovery tool apply?

It applies after an operator loses local channel data and a peer closes the channel by posting a transaction to Bitcoin. It targets the output the closing transaction sets aside for a payment that was still pending. Both recovery paths need a matching output that remains unspent.

What does an operator need to recover pending Lightning payment funds?

Per CryptoSlate, the operator needs the original node secret, the peer's closing transaction, channel identifiers and key information, details for each payment, and the peer's public commitment point tied to the closing transaction. A cooperating peer can supply that point while keeping its private keys and commitment secrets private.

Can all lost Lightning funds be recovered with this tool?

No. Outputs that are absent or already spent can't be recovered, and the tool skips payments too small to have an output. Core Lightning's recovery guide also warns that restoring an outdated database can permanently lose funds.