Bitcoin Lightning operators could recover stuck payments even after losing channel data

Bitcoin Lightning operators could recover stuck payments even after losing channel data

Core Lightning’s 26.12 release candidate adds a manual way to recover certain pending Lightning payment funds after channel data is lost and a peer closes the channel.

Core Lightning’s 26.12rc1, published Nov. 18, adds a tool for recovering eligible pending-payment funds after channel data loss and a peer’s force-close. It creates signed transactions for the operator to review and broadcast.

For an outgoing payment, the operator needs its payment hash and expiry, and can reclaim the funds after the timelock expires if the closing transaction contains a matching unspent output. For an incoming payment, the operator needs the matching preimage and must get its claim confirmed before the peer reclaims the output.

Recovery also requires the original node secret, channel and payment details, the peer’s closing transaction, and the peer’s public commitment point for that transaction. A cooperating peer can provide that public point without revealing private keys or commitment secrets. The tool skips payments too small to have an output; absent or already-spent outputs cannot be recovered.

Core Lightning already has a separate recovery path for the operator’s main channel balance when the peer closes with a transaction the recovering node has not seen. Its wallet guide warns that restoring an outdated database can permanently lose funds. The 26.12 build remained a pre-release on Nov. 25.

More news

All news
US moves to seize $1.1 billion from Binance hackers without accessing their wallets US Prosecutors Move To Permanently Seize $1.1 Billion In USDC Stolen From Binance SEC Charges Eight Colorado Firms in $37 Million Fake Crypto Platform Scam Strategy raises its buyback ceiling to $4 billion as MSTR shares sink 21% Bitcoin Rebounds Toward $60,000 as Weekly ETF Outflows Reach $1.79 Billion