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

In this news:

Key takeaways

  • Core Lightning 26.12rc1 adds a manual tool to reclaim eligible pending payment outputs after channel data loss.
  • Recovery requires a matching unspent closing-transaction output, plus the payment hash and expiry or the preimage.
  • The tool produces signed transactions for manual review and broadcast, and the release is still a pre-release.

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.

Release timing and coverage

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.

Which pending Bitcoin payments qualify

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.

The tool reconstructs the spending conditions for each payment the operator wants to recover and checks them against the closing transaction, and skips payments that are too small to have an output.

It produces signed transactions for the operator to review and broadcast manually.

Requirements and limits

The original node secret, channel and payment details, and the peer’s public commitment point are also required. Outputs that are absent or already spent cannot be recovered.

The operator needs the original node secret, the peer’s closing transaction, channel identifiers and key information, and details for each payment they want to recover.

A cooperating peer can supply the public commitment point tied to the closing transaction while keeping its private keys and commitment secrets private.

Core Lightning’s wallet recovery guide describes using the node secret and an emergency channel backup to reclaim the main balance after a peer closes the channel.

It also warns that restoring an outdated database can permanently lose funds, so recovering a pending payment depends on having enough information to reconstruct its particular output.

Source: cryptoslate.com

Share the article:

Top Trending Cryptocurrencies on The Market

Current Price

$0.000000300

7 Days
BTT 7 days: -3.44%

Market Cap

$290.1M -0.06%

24h Volume

$16.1M

Supplies

968.4T / 990.0T

Current Price

$14.370

7 Days
BSV 7 days: -5.8%

Market Cap

$289.1M 2.91%

24h Volume

$4.2M

Supplies

20.1M / 21.0M

Current Price

$0.000001370

7 Days
APEPE 7 days: +3.34%

Market Cap

$288.1M -0.05%

24h Volume

$10.4M

Supplies

210.0T / 210.0T

Current Price

$0.01451

7 Days
SUN 7 days: -2.8%

Market Cap

$278.9M -0.27%

24h Volume

$8.7M

Supplies

19.9B / 19.9B

Current Price

$0.004395

7 Days
PENGU 7 days: -8.04%

Market Cap

$276.3M 5.13%

24h Volume

$56.5M

Supplies

76.7B / 88.9B

Current Price

$0.1727

7 Days
CRV 7 days: -14.67%

Market Cap

$274.6M -0.99%

24h Volume

$40.7M

Supplies

2.4B / 3.0B

Current Price

$0.9948

7 Days
FDUSD 7 days: -0.03%

Market Cap

$274.4M -0.72%

24h Volume

$86.7M

Supplies

275.8M / ∞

Current Price

$0.3791

7 Days
GRASS 7 days: -8.49%

Market Cap

$273.7M 4.94%

24h Volume

$19.5M

Supplies

1.0B / 1.0B

Current Price

$0.9736

7 Days
APXUSD 7 days: +0.72%

Market Cap

$270.8M 0.17%

24h Volume

$1.5M

Supplies

278.1M / ∞

Current Price

$0.1057

7 Days
UB 7 days: -1.88%

Market Cap

$264.3M 3.52%

24h Volume

$4.7M

Supplies

10.0B / 10.0B

Current Price

$0.1112

7 Days
FET 7 days: -15.94%

Market Cap

$257.2M 5.13%

24h Volume

$54.9M

Supplies

2.7B / 2.7B

Current Price

$0.2752

7 Days
SPX 7 days: -13.73%

Market Cap

$256.2M 2.54%

24h Volume

$6.2M

Supplies

931.0M / 1.0B

Notifications Login to see

Today

No Notifications

↑