[bug]: Briefly Unavailable Feerate Source defaults to 25 sats/vB leading to FCs
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 43/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Go
- Stelle
- 8.2k
- Fork
- 2.3k
- Merge medio
- 1g 11h
- PR unite (30g)
- 103
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lightningnetwork/lnd
-
funding: failure logs print `<nil>` error and zero channel IDForse già presa @litbot-9000 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
lightningnetwork/lnd#11676 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 85/100
lightningnetwork/lnd#11674 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
lightningnetwork/lnd#11672 ·
I maintainer di solito rispondono entro 1 giorno
-
test flake
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
lightningnetwork/lnd#11663 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsApertatest flake
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
lightningnetwork/lnd#11642 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di lightningnetwork/lnd
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
containers/gvisor-tap-vsock#796 ·
I maintainer di solito rispondono entro 2 giorni
-
external needs:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
celestiaorg/celestia-node#5448 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsForse già presa @huanghaoyuanhhy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
zilliztech/milvus-backup#1418 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
projectdiscovery/nuclei#8423 ·
I maintainer di solito rispondono entro 1 giorno