CONNECT WITH US
Web3 & Blockchain

Web3 & Blockchain

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

CryptoSlate logo

Published on

Add as a preferred source on Google
Bitcoin Lightning operators could recover stuck payments even after losing channel data

Core Lightning’s new recovery tool helps node operators reclaim funds from pending Bitcoin payments after losing channel data.

Core Lightning’s first 26.12 release candidate adds a way to reclaim funds from some pending Bitcoin Lightning payments.

It applies after an operator loses local channel data and a peer closes the channel by posting a transaction to Bitcoin. The tool gives the operator separate ways to reclaim outgoing funds or collect incoming funds, depending on the payment information that survived.

Core Lightning published the test build on Nov. 18, and still headed the project’s release list on Nov. 25 as a pre-release.

Bitcoin Optech covered the feature in its Nov. 20 newsletter and revisited it in its Nov. 24 podcast recap.

Core Lightning’s existing recovery process can reclaim the operator’s main channel balance when the peer posts a closing transaction the recovering node has never seen.

The change adds a new tool that addresses a separate output: the amount the closing transaction sets aside for a payment that was still pending.

Both recovery paths require a matching output in the closing transaction that remains unspent. For a payment the operator offered, the tool’s manual says the operator needs the payment hash and the expiry. Once the timelock expires, the operator can reclaim those funds.

For a payment the peer offered, the operator needs the preimage, the secret that matches the payment hash. The operator’s claim must be confirmed on Bitcoin before the peer reclaims the same output. Once the timelock expires, the peer can take the funds back.


Source link

Disclaimer

We strive to uphold the highest ethical standards in all of our reporting and coverage. We TheMorningPulse.fyi want to be transparent with our readers about any potential conflicts of interest that may arise in our work. It's possible that some of the investors we feature may have connections to other businesses, including competitors or companies we write about. However, we want to assure our readers that this will not have any impact on the integrity or impartiality of our reporting. We are committed to delivering accurate, unbiased news and information to our audience, and we will continue to uphold our ethics and principles in all of our work. Thank you for your trust and support.