Sunday, September 13, 2026

Latest Posts

LDK 0.2.6 fixes Lightning fund diversion and restart bugs

Lightning Development Kit, a toolkit for building Bitcoin Lightning applications, released v0.2.6 on Sept. 9 with fixes for bugs that could divert small amounts of a node’s funds or prevent saved channel state from loading.

LDK packages a Lightning implementation as a software development kit for uses including mobile wallets and payment-service infrastructure. The update gives developers maintaining affected applications fixes for both a financial risk and a condition that can disrupt normal node restarts.

Related Reading

Onslaught of AI-found bugs forces Bitcoin’s Core Lightning into a secret 14-day emergency lockdown

A splice lets a node add funds to or remove funds from an existing payment channel. LDK’s API documentation describes this as spending the channel’s funding output and replacing it with a new one. In practical terms, it changes the money committed to the channel through a replacement funding transaction.

Read More:  TeraWulf’s Bitcoin mining revenue fell 73% as AI related leases reached 71% of sales

That transaction has costs shared between the participants. The initiating node pays fees for specified common parts, along with its own contributed inputs and outputs. The fee calculation therefore affects how much of the node’s money pays for the operation.

The splice flaw could let a malicious peer cause excess fee allocation, with the excess going to that peer’s output. The release describes a small amount of funds at risk when a node initiates a splice, without specifying a numerical ceiling.

The separate security flaw involved two payment contracts sharing the same payment hash. After one had been successfully forwarded, receiving and immediately rejecting a bogus one could leave ChannelManager state unable to load.

ChannelManager is LDK’s component for managing channels and payments. Restarting an existing node involves reading its saved state back into memory, a process called deserialization. If that saved state is rejected during loading, the application cannot complete its normal restart. Rejecting the bogus payment does not, by itself, avoid this particular failure.

Read More:  SEC’s latest crypto rules only open a few of Wall Street’s ‘million doors’