[bug]: Briefly Unavailable Feerate Source defaults to 25 sats/vB leading to FCs
Maintainers usually reply within 1 day
@saubyk is already working on this.
Since Oct 28, 2026.
- #11333 by @mvanhorn — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
Research direction
Start by tracing how LND obtains feerates from the configured chain backend and where it falls back to 25 sats/vB when that source is unavailable; the issue does not name files or tests. Check how the fallback interacts with channel fee updates and force-closure decisions. Done means a brief backend outage no longer triggers the reported force-closure risk, with regression coverage for that behavior.
Written by the indexing model from the issue text.
Description
Pre-Submission Checklist
- I have searched the existing issues and believe this is a new bug.
- I am not asking a question about how to use lnd, but reporting a bug (otherwise open a discussion).
LND Version
v0.21.1-beta, for example
LND Configuration
Bitcoin Core as feerate source, for example
Backend Version
Any Bitcoin Core
Backend Configuration
default
OS/Distribution
Any
Bug Details & Steps to Reproduce
If the feerate source (in some cases at least Bitcoin Core, but I imagine likely others) is unavailable for as short as 20 minutes LND keeps running but instantly sets all the feerates it uses for peer channels to 25 sats/vB. This is (obviously) an absurd feerate today, and can lead to force-closures as setting an absurd feerate can be indistinguishable from a dust-inflation attack making it look like a peer is trying to steal funds.
Expected Behavior
If the entire chain backend is offline, setting feerates really high isn't really that interesting of a solution - we aren't syncing the chain at all, and there's lots of risk to that, worrying about channel feerates is the least of our concerns. Even more generally, setting the channel feerate high isn't really the most critical thing to do - if there's active anchor spends going on that aren't confirming we definitely need to RBF them (irrespective of our feerate estimator!) but bumping the channel fee almost doesn't matter - post-anchors its not all that important at all. Risking force-closure for this post-anchors really doesn't feel like the right tradeoff.
Debug Information
No response
Environment
No response
- Dominant language
- Go
- Stars
- 8.2k
- Forks
- 2.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 103
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lightningnetwork/lnd
-
funding: failure logs print `<nil>` error and zero channel IDPossibly taken @litbot-9000 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
lightningnetwork/lnd#11676 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 85/100
lightningnetwork/lnd#11674 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lightningnetwork/lnd#11672 ·
Maintainers usually reply within 1 day
-
test flake
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
lightningnetwork/lnd#11663 · 1 comment ·
Maintainers usually reply within 1 day
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsOpentest flake
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
lightningnetwork/lnd#11642 · 1 comment ·
Maintainers usually reply within 1 day
All issues in lightningnetwork/lnd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
containers/gvisor-tap-vsock#796 ·
Maintainers usually reply within 2 days
-
external needs:triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
celestiaorg/celestia-node#5448 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsPossibly taken @huanghaoyuanhhy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zilliztech/milvus-backup#1418 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
projectdiscovery/nuclei#8423 ·
Maintainers usually reply within 1 day