mutiny-web icon indicating copy to clipboard operation
mutiny-web copied to clipboard

Channel close - Peer's feerate much to low

Open KayTX opened this issue 1 year ago • 3 comments

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!

KayTX avatar Jun 06 '24 02:06 KayTX

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.

marksftw avatar Jun 06 '24 17:06 marksftw

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?

Astaroth678 avatar Jun 07 '24 20:06 Astaroth678

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

marksftw avatar Jun 07 '24 20:06 marksftw