Skip to content
Market MoodExtreme Fear11
Market Cap: $2.11T −0.41%24h Vol: $87.97BBTC: $60,858 +2.76%
NewsMarketsBitcoinEthereumAltcoinsAsiaWeb3EventsAbout Us
LanguageENRU
Subscribe Pro
Bitcoin

Core Lightning adds tool to recover stuck payments after data loss

Operators must supply the node's original secret and the peer's closing transaction, and the build is still a pre-release.

· 2 min read
a bit coin sitting on top of a pile of coins
Photo by Michael Förtsch on Unsplash

Bitcoin Lightning node operators running Core Lightning can now try to pull back some pending payments stranded when channel data was lost. The fix arrives in version 26.12rc1, the first test build of the 26.12 release, which appeared on Nov. 18 and was still a pre-release a week later.

The situation it covers: a peer closes a channel by pushing a closing transaction onto Bitcoin. That transaction can hold payment outputs set aside from the channel's main balance. Those outputs are what the new tool goes after. If one is still unspent, the operator can claim it after the payment's timelock passes.

BitcoinBTC · 24h
$60,858+2.76%

What the operator must supply depends on the payment's direction. An outgoing payment needs its hash and expiry; an incoming one needs the preimage. The claim also has to be confirmed on Bitcoin before the peer can take the output back once the timelock ends.

Beyond that, the operator needs the node's original secret, channel identifiers, signing material, the closing transaction posted by the peer, and the payment records. A peer that cooperates can hand over the public commitment point for that closing transaction without revealing private keys or commitment secrets.

The tool rebuilds the spending conditions, checks them against the closing transaction and produces signed transactions that the operator reviews and broadcasts by hand. Payments too small to have their own output are skipped, and outputs that are gone or already spent are out of reach.

Core Lightning already offered a way to recover the main channel balance when a peer closes with a transaction the node never saw. This addition covers pending-payment outputs. The project's guidance also warns that loading an old database backup can destroy funds for good.

Sources

  • Tokenpost: Core Lightning Adds Recovery Tool for Some Pending Lightning Payments
  • CryptoSlate: Bitcoin Lightning operators could recover stuck payments even after losing channel data

Not financial advice. Crypto assets are volatile and you can lose money. Read our Financial Risk Disclosure.

Core LightningBitcoinLightning Networknode operators
Newsletter

Get the BitcoinEast Daily

Top crypto news, analysis, and market insights, delivered every day.