pull down to refresh
10 sats \ 1 reply \ @C_Otto 4 Apr 2022 freebie \ parent \ on: Why LN channels are force closed? | Serious discussion bitcoin
Based on my experience with around a 100 force closes, most of them are the result of HTLCs timing out. This happens if you start a payment and, before it settles, your peer disconnects (or you make your own node unavailable). This isn't a bug, but it's still annoying.
I tried also limiting max htlcs pending in lnd.conf to 10 or 20.
But the thing is that sometimes your node must be restarted or simply do not respond, and you have HTLC in fly. So practically you can't do anything about those HTLC.
You are trying to restart the node as fast you can, not to get expired those HTLC, but still, if you have to compact the db will take some hours.
Then come the question: why those pending HTLC are not waiting more time until you get online? Or how to control these aspects?
reply