-
Notifications
You must be signed in to change notification settings - Fork 493
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
Add option_zero_reserve
(FEATURE 64/65)
#1140
base: master
Are you sure you want to change the base?
Conversation
Lightning channels require nodes to lock some of their channel funds into a channel reserve, which cannot be used for payments made on that channel. This guarantees that both nodes always have an output in the commitment transaction, which they will lose if they publish a revoked commitment. While this requirement is generally useful, it creates inefficiencies since that liquidity can't be used to relay payments, and provides a bad user experience. In some settings, we may want to remove that channel reserve and allow nodes to use all of their channel funds. The `option_zero_reserve` feature lets nodes advertise that they allow their peers to disable the channel reserve on their side, and may lift the same requirement in response.
Any traction on this? Will this option work with already opened channels, or only affect the future ones? |
This is implemented on our side, this proposal is waiting for reviews and implementation by the other teams. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recently, the question came up how zero-reserve channels would interact with maintaining zero Anchor reserve. The particular scenario we wondered about: currently, when a node maintains zero on-chain reserves to spend Anchors, it could at least theoretically use/redirect the to_remote
funds to claim pending zero-fee HTLC transactions once the commitment transaction confirms. However, it seems that with option_zero_reserve
the to_remote
might very well way too little to actually get the claim confirmed.
Do you have any thoughts on this? Wouldn't no-reserve users be at increased risk of losing HTLC funds to the counterparty?
I'm not entirely sure I understand your comment correctly, probably because of terminology: are you referring to v3 commitments when saying "zero Anchor reserve"? If I understand you correctly, you're thinking about the following scenario:
|
Lightning channels require nodes to lock some of their channel funds into a channel reserve, which cannot be used for payments made on that channel. This guarantees that both nodes always have an output in the commitment transaction, which they will lose if they publish a revoked commitment.
While this requirement is generally useful, it creates inefficiencies since that liquidity can't be used to relay payments, and provides a bad user experience. In some settings, we may want to remove that channel reserve and allow nodes to use all of their channel funds.
The
option_zero_reserve
feature lets nodes advertise that they allow their peers to disable the channel reserve on their side, and may lift the same requirement in response.This is an alternative to #1133