Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel close - Peer's feerate much to low #1189

Open
KayTX opened this issue Jun 6, 2024 · 3 comments
Open

Channel close - Peer's feerate much to low #1189

KayTX opened this issue Jun 6, 2024 · 3 comments
Labels

Comments

@KayTX
Copy link

KayTX commented Jun 6, 2024

iOS App: 1.7.1
Channel was closed by app / (lsp?).
Reason: "Channel closed because of an exception: Peer's feerate much to low. Actual: 2219. Our expected lower limit: 2250"

I assume the two numbers above are the expected fee in sats of the force close tx.
The broadcasted tx is stuck with a fee of ~2500 sats ( ~ 9 sats/vB) in mempool. The current fee rate recommendation (mempool.space) for low priority is 41 sats/vB.

My outbound liquidity before closure was ~50000 sats.

Extract from log file

  • ERROR [lightning::ln::channelmanager:8815] Force-closing channel: Peer's feerate much too low. Actual: 2219. Our expected lower limit: 2250

  • DEBUG [lightning::ln::channelmanager:2848] Finishing closure of channel due to Channel closed because of an exception: Peer's feerate much too low. Actual: 2219. Our expected lower limit: 2250 with 0 HTLCs to fail

Questions

  1. Is this channel closure a bug?
  2. Why was such a low fee rate chosen?
  3. How can I prevent a channel closure like this?

Thank you.

PS: You do a great job!

@markskram
Copy link

Hey @KayTX, this is poor fee estimation with the LSP. We are working to resolve various issues with the LSP. At the moment there isn't much you can do to avoid this. Looking for ways to improve this through LDK config options.

@Astaroth678
Copy link

I also had a force closure because of a low feerate. Will the on chain transaction be claimable in the near future? If so, will this appear directly in the wallet?

@markskram
Copy link

It can take anywhere from 3-14 days for the Lightning Network to settle the funds back on chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants