-
Notifications
You must be signed in to change notification settings - Fork 266
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
Peer forces super high fees on a mutual close with only local balance #1583
Comments
Unfortunately this is the design of mutual close, you and your peer have to agree on a fee. |
I assumed anchor outputs are specifically used for closing txs. Seems like I'm mistaken, What else are they good for? Force close? |
Yes exactly, they are for force-close |
I see. Force close should hopefully be a rarity in the not so distant future (already got much, much better actually). Regular closing TX will always be quite common. IMHO it would be a big improvement for everyone, if anchor outputs could also be used for those. Does it make sense to push for this? If yes, who should I talk to? |
I don't think it makes sense to have anchor outputs on mutual close. Note that when the closings in your logs happened, the mempool was really full and the feerate was very high. |
well, lightning will become VERY expensive or might even fail if nothing is done to significantly reduce the fee burden. Routing nodes are losing money even at 1% fee (during a time of empty blocks and 1sat/b tx confirming). Now 100 or 200x that for a time with full blocks.... IMHO the only way lightning can stay competitive, is by making batch opening and closing standard (close n channels while simultaneously opening n channels all in one tx) plus lowballing the fee and making use of cheap weekend fees. Otherwise full custodial solutions like PayPal, ETFs, Grayscale, BlueWallet & exchanges will take over even more and we all know what that means... edit: |
We are working on batch open thanks to PSBT, but closing cannot be batched right now. |
Yeah, I know that it's not really up to me or eclair but mostly to my peers. That's why I initially raised this issue with LND lightningnetwork/lnd#4413 and only opened this one since it was a special case with balance only on my side. Was hoping there is a way for such a closing (where peer has no money at stake), fees could maybe be determined by my node alone. But apparently that's not possible. What I really don't understand, is why being more fee efficient is such a low priority. LN promises to be more cost effective than on-chain. It's the sole reason for it's existence (yeah, ok, maybe not the only reason, but by far the biggest). But yet, even during almost 2 years of empty blocks, running a routing node is quite expensive even when you only count network fees and ignore everything else like hardware, electricity, opportunity cost, onlinewallet risk, etc. The only reason LN is somewhat operational still, is due to routing node operators donating their BTC satoshi for satoshi in order to keep their nodes running at a loss. That's not a viable long term strategy and it will only get MUCH, MUCH worse with the next hype cycle and long tx backlogs. LND doesn't even have coin control and just creates a giant UTXO mess: https://twitter.com/matt_odell/status/1321806485937098757 And the biggest liquidity provider doesn't even seem to understand that his coins are unnecessarily wasted for overpaid network fees: https://twitter.com/lnbig_com/status/1299320526507311104
I'm really at a loss here. Seems like I'm the only one who really cares even though it's most definitely hurting everyone. Probably most people don't actually realize how much they are losing. Will ask the RTL guys to ad a network fee info panel into their dashboard. Maybe this will help to highlight the issue. I really have a hard time seeing how LN can survive in a high fee environment without serious improvements. If it doesn't happen soon, node operators will start throwing in the towel and it will be easy to discredit LN which in turn will hinder adoption or might even keep it in it's little economically meaningless niche where it is right now. |
That's only because you're not following the technical discussions and spec meetings. What you're also missing is that we're actively working on more important priorities: making sure funds are safe. This is the number 1 priority. Many cross-layer attacks have been discovered this year, and protecting against those has been a lot of work. |
Fair points. Any other good places besides the mailing list and bitcoinops to keep up with whats going on in the dev community? I'm kind of barking up the wrong tree here anyway, since you guys actually did implement options to lower fees significantly. (Even though I think the standard setting for closing should be 144 blocks. Nobody dies from waiting a few hours for a closing tx to confirm and anyone unhappy can always change the setting.) I'm mostly taking issue with LND nodes refusing to settle for anything reasonable on mutual close and raising the issue on their github hasn't really given me the impression that anyone cares. The mentioned UTXO mess and missing coin control kind of seemed to confirm this feeling. |
You can monitor the bi-weekly meeting issues we create on the spec repo, and skim through the spec meeting logs, see for example lightning/bolts#805 I'd like to finish some work on RBF/CPFP for eclair, once that's done I think we can indeed make the default target for closing 144 blocks (and it's always possible to do CPFP to speed up confirmation if needed). The RBF/CPFP work will be a bit of a rabbit hole, I'm not sure how long that will take but that's one of my priorities right now. Regarding LND, it's tough for them because they really have a lot of users, which means a lot of noise. They're a bigger team, but it's probably not enough to compensate. I'm sure they're aware of these issues, but since they also have more features and projects to maintain, they can't do everything they would like to in a timely manner. We'll get there eventually though, don't hesitate to keep pushing! |
Thanks for having an open ear and taking the time to explain what is happening behind the curtains.
this would actually be really useful. Would love to try this and see how peers react. If it isn't too much work, I hope to see this implemented soon. |
@viaj3ro If you read the comments on the above C-Lightning issue you'll notice it has similar problems with fees being too high, especially in low fee periods. |
Fixed by #1768 (once implemented by other nodes in the network) |
peer forces crazy tx fee on my own to self transaction. Seems very unnecessary. Also happens during low fee periods. Can this be prevented?
https://blockstream.info/tx/42b6333c6a15feeda04549c0eb842ab80858e51c31ecbc3a2b583b718d5c1c19
The text was updated successfully, but these errors were encountered: