pull down to refresh
0 sats \ 2 replies \ @nullcount 30 Aug 2022 \ parent \ on: What if a Lightning HTLC has to be settled onchain but fees are over its amount? bitcoin
If on chain fees are high, and the HTLC output is low, it's not best time to close the channel. It's entirely possible to lose money closing a channel (or having a channel closed on you) in a high fee environment.
This is almost by design, if fees are high, then demand for routing payments on LN channels should rise. If you're attempting to limit the supply of channels while they're in demand, you should be punished.
The issue is that the one who opened the channel pays the closing fee. https://bitcoin.stackexchange.com/a/96522
So it's possible that you decided to open a channel to a node that doesn't care if you lose money and they close it in a high fee environment. Again, there is trust. But also, reputation in the social layer. If a large node was caught doing this to their peers, word would spread to avoid opening channels to them.
But would a lightning node create an HTLC for a $7 payment if it knows it will cost $10 to redeem it?
reply
You think word would spread automatically or do we need to build some kind of system that keeps track of these things?
reply