LND Release Candidate Caps External Bitcoin Fee Estimates at 10,000 Sats per vByte
The v0.21.5-beta.rc1 pre-release adds an upper bound to fee data from outside services and fixes a SQL connection-pool deadlock affecting node reliability.

A new release candidate for LND, a widely used Lightning Network node implementation, places a ceiling on fee estimates received from external services. The change closes a gap in which wallet software could accept extreme fee figures from outside sources without question.
The build, published on 22 October as v0.21.5-beta.rc1, is a pre-release. Alongside the fee change, its development notes describe fixes to other node operations, including a deadlock in the native SQL connection pool, according to NewsBTC.
What the release changes
According to the release notes, fee estimates supplied through an external fee API previously had a lower bound but no matching upper bound. In practice, the software would stop an estimate from falling below a set floor but had no equivalent check on how high it could go.
The fix limits the estimate before it reaches wallet functions that depend on fee levels. The associated code change sets a maximum of 10,000 satoshis per virtual byte. It also bounds the minimum-relay estimate returned by the API, the figure that indicates the lowest fee rate at which nodes will typically pass a transaction along the network.
The 10,000 sat/vB figure should be read as a safety limit rather than a guide to normal costs. It does not suggest that fees at that level are typical, economical or required by prevailing network conditions. Its purpose is to catch values that are clearly abnormal before they can shape a wallet's behaviour.

Why an outside fee estimate needs limits
Bitcoin fees are set by the sender, and they compete for limited block space. Wallets and node software therefore rely on estimates to decide how much to attach to a transaction. Some setups calculate this locally; others draw on an outside service that publishes recommended rates.
The risk lies in how much trust software places in that external input. A fee estimate is best treated as one piece of information feeding a decision, not an order to be carried out regardless of cost. If a wallet accepts any number it is given, a fault elsewhere can translate directly into an expensive transaction.
As NewsBTC noted, an external service can return an unusable figure for several reasons: a plain error, a change in its data format that the client misreads, or a compromised dependency somewhere in its supply chain. Each of these is distinct, but they share a common outcome. A value that bears no relation to real network conditions arrives at software that may act on it.
Capping the input does not prevent the upstream fault. It narrows one route by which such a fault can affect the wallet, limiting the damage a bad number can do. For Lightning nodes, where on-chain transactions are used to open and close payment channels, fee handling is a routine part of operation rather than an occasional concern.
The principle is familiar from wider software engineering: data crossing a trust boundary should be validated before it is used. A lower bound already existed in this case; adding an upper bound makes the check symmetrical.
Release verification versus real-world testing
The GitHub release page labels the build a pre-release and states that it requires no database migration. It also provides instructions for verifying signatures and binaries.
Those steps serve a specific purpose. Signature and binary verification allow an operator to confirm that the files downloaded are the ones the developers published and have not been tampered with. They say nothing about how the software will behave once it is running in a particular node's configuration.
This distinction matters for anyone considering a release candidate. Confirming a download's authenticity and confirming that it works correctly in a given environment are separate questions, and answering one does not answer the other.
The absence of a database migration does reduce the scope of change. Migrations alter how stored data is structured and can be among the more delicate parts of an upgrade. Removing that step eliminates one category of risk, but it does not remove the need to test the rest of the software.
The SQL deadlock fix and node reliability
The development notes also describe a fix for a deadlock in the native SQL connection pool. A deadlock occurs when processes wait on one another in a way that prevents any of them from proceeding.
This kind of fault is significant because a node's reliability depends on how it handles storage as well as how it communicates with the network. A service can remain technically running while requests quietly stop completing. To a monitoring system that only checks whether a process is alive, such a node may appear healthy even as the applications relying on it fail.
For operators, this suggests that testing a release candidate should mirror the work the node actually does. That includes accepting requests, reading from and writing to storage, coping with failures and restarting cleanly. A brief check that the software launches is unlikely to expose problems that only emerge under load or after an interruption.
Wider context and what to watch
NewsBTC linked the LND changes to a broader theme raised by Bitcoin Core's revised disclosure process. Software that handles money needs two things: a reliable way of discovering problems and a dependable route for getting fixes into use. A repair that exists in code but has not been deployed offers no protection.
Release candidates sit in the middle of that path. They make fixes available for testing before a final release, giving operators a chance to identify issues in their own setups. The value of that stage depends on how thoroughly it is used.
There are limits to what the fee ceiling achieves. A cap of 10,000 sat/vB is high, so an erroneous estimate below that level would still pass through. The change addresses extreme outliers rather than every flawed figure, and operators who rely on external fee services still carry some dependence on those providers.
Points for operators and observers to follow include:
- Whether further release candidates follow before a final 0.21.5 release
- Reports from operators testing the build in production-like settings, particularly around storage behaviour
- Whether other wallet and node software adopts similar bounds on externally sourced fee data
The changes in this release are modest in scope. They nonetheless reflect a practical concern for software that controls funds: inputs from outside should be checked, and fixes should be tested in the conditions where they will actually run.
More from peatpost

LNbits Tells Operators to Shut Down Bitcoin Payment Servers After Wave of Attacks
The Lightning payments project has disabled its hosted service and asked self-hosters to stop their instances, but no stable fix or restart clearance has been published.

Bitget Launches Open Custody Network to Separate Trading From Asset Storage
The exchange says eligible users can trade on its venue while assets sit with external banks and custodians, but the real protection depends on how settlement is designed.

Aave Labs Acquires Avon Team and Technology in Push Towards Fixed-Rate Onchain Lending
The deal brings Avon's order-book technology and three staff to Aave Labs, though no fixed-rate Aave product has yet launched and financial terms were not disclosed.
Discussion
0 commentsNo comments yet — be the first to weigh in.