Bitcoin Lightning fix targets funds routing nodes could lose after a crash
The Lightning Development Kit, a library for building Bitcoin Lightning software, merged a fix on Nov. 23 for a bug that could leave routing nodes paying out without collecting the corresponding funds. The bug affects unpatched LDK routing nodes that save channel recovery data asynchronously.
A Lightning routing node forwards a payment on one channel and collects the corresponding funds on another. Bitcoin Optech's Nov. 27 bulletin described a case in which the incoming channel had been force-closed.
If the node crashed before its recovery data was saved, it could come back online without information it needed to collect the incoming funds. Loss was possible if the node had paid the outgoing side and its claim on the Bitcoin blockchain also failed to confirm before expiry.
Asynchronous storage lets a node keep working while its channel data is being saved. In the affected case, LDK could treat a recovery update as saved while the write was still in progress. The LDK fix keeps the update pending until the write is finished. The update goes into a channel monitor, which holds information the node can use to recover funds when a channel closes.
A separate Core Lightning recovery tool addresses pending payments after channel data has already been lost.
When the LDK patch counts a write as saved
Channel recovery data on affected Lightning routing nodes using asynchronous storage.
How the fix changes the order of the saved signal Two aligned paths show the same write. An affected node could mark the data saved early. Patched LDK keeps it pending through write completion. Write starts Write finishes Earlier behavior With the patch Could mark data saved here A crash can leave data unsaved Update stays pending Marked saved Sequence shown without a time scale
How the fix changes the order of the saved signal Read across each path from the start of the write to completion. The patched path keeps the update pending until the write finishes. Write starts Write finishes Earlier behavior With the patch Could mark data saved A crash can leave data missing Update stays pending Marked saved Sequence shown without a time scale
The patch keeps the recovery update pending through storage completion.
In the described crash scenario, loss also requires the outgoing payment to go through and the incoming on-chain claim to miss its deadline.
Sources and evidence
Sources
- Lightning Development Kit pull request #5663
- Bitcoin Optech Newsletter #433
Supporting facts
- The reported risk concerns unpatched LDK routing nodes that forward payments and write channel recovery data asynchronously. [1] [2]
- A routing node in the affected configuration could settle the outgoing leg of a forwarded payment and fail to recover the incoming funds after a crash if its on-chain claim did not confirm in time. [1] [2]
- The LDK fix keeps a recovery update pending until the write finishes so the node does not treat the data as safely saved too early. [1] [2]
Method
Conceptual comparison of write events in the LDK merge record and Bitcoin Optech's technical account. The horizontal order shows sequence.
Scope
In the described crash scenario, loss also requires the outgoing payment to go through and the incoming on-chain claim to miss its deadline.
Infographic by CryptoSlate
How to check a running build
Pull request #5663 landed on LDK's main development branch. As of Nov. 29, the project's repository tags and the Rust package history showed no confirmed tagged release carrying the change. Docs.rs dates the 0.2.8 and 0.1.14 packages and the 0.3.0-rc4 release candidate to Nov. 11, before the merge.
The LDK Node 0.7.1 manifest, for example, allows compatible 0.2-series versions of the lightning library. Which one an operator runs depends on the build. The Cargo lockfile for a Rust application records the exact dependency version or Git revision selected for that build.
Operators who compile their own software can check the lockfile used for their build, then verify that the selected release or source revision includes #5663. For a packaged application, start with the distributor's release notes or build records for the installed version. If those leave it unclear, ask the maintainer whether that build includes the fix or a backport and whether it saves channel recovery data asynchronously.
For developers who supply their own storage, the fix also changes when they report that data has been saved. Under the revised LDK contract, custom integrations that mark writes as pending must report when full channel-monitor writes finish.
-- Price
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

Crypto: Franklin Templeton Integrates Hyperliquid into Its ETF

Ripple Prepares for Final XRP Token Release in 2026

UK MP’s AI encryption warning raises questions over crypto security

56% of Bitcoin Supply Is Underwater. What Happens Near $47,500?

A Confession from a Crypto Artist: The NFT Craze Was Never About Art

Bitcoin miner revenue drops to 27.1 million, near 2023 low

Bitcoin treasury firm Capital B buys more BTC despite €117M in unrealized losses

Bitkub founder bets on Bryan Johnson’s longevity business, targeting 5.2 million crypto customers

Bitcoin Weekly Losses Narrow; Three Major Indexes Close Higher Last Week | WEEX Daily Market Brief (November 30, 2026)
Bitcoin and Ethereum both closed lower last week, but their weekly losses narrowed. Spot ETFs continued to record net outflows. The three major equity indexes all closed higher last week, with NVIDIA surging. On November 30, the market is watching Rubrik earnings and MSCI index adjustments.

WEEX Exclusive: Bitcoin Weekly Losses Narrow; Three Major Indexes Close Higher Last Week | WEEX Daily Market Brief (November 30, 2026)

Panic Has Become the Best Benchmark

Cardano founder accuses Trump administration of crypto corruption, warns of sweeping investigations in 2027

Binance’s emergency fund adds 500 million USDC as 7,500 BTC moves out

Artificial Intelligence Proves the Riemann Hypothesis, Raising Concerns About Crypto Security

Bitcoin Above $60,000, ETFs Lose $389 Million

Bitcoin Spot ETF Sees Net Outflow of $1.643 Billion Last Week, Marking Five Consecutive Weeks of Outflows

Bitcoin Spot ETF Sees Net Outflow of $1.643 Billion Last Week, Marking Five Consecutive Weeks of Outflows

Cathie Wood: Bitcoin Exhibits Anti-Fragility, Crypto Industry May Outperform Banks Against AI Hackers

Why Pearl Struggles to Replace Bitcoin Under Dual Pressure of Quantum Risk and Security Budget?

Stacks Founder Refutes Rumors of Cryptocurrency Hacking Threats

Financing Weekly Report | AI Company Sierra Completes $1.75 Billion Series F Financing; On-Chain Prediction Market RAFA Raises $21 Million

Hyperliquid Hides Bigger Business Beyond Trading

Latvian Central Bank Does Not Discuss Bitcoin Reserves, 2027 Tokenized Bonds Not Confirmed

Trump Media Faces Deadline to Repay 1.2 Trillion Won Borrowed for Bitcoin Purchases

Binance Establishes Asian Base in Bhutan and Obtains Preliminary Approval for Digital Asset Business

Sam Price Focuses on Bitcoin's Monthly Performance

Adam Back and Giacomo Zucco Mock Current Fears in Bitcoin

Vanadi Coffee acquires 10 bitcoins at 56,388 euros each

Sam Price Discusses Bitcoin and Solana's Consecutive Weeks of Decline










