Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We previously only applied 0-reserve to the non-initiator when the feature bit was active. We should apply it to both sides of the channel.
This reduces the liquidity requirements on the initiator side, and allows receiving more funds over lightning before requiring a splice to get more inbound liquidity.
This doesn't create any backwards-compatibility issue on the
lightning-kmp
side, because if we release with that change, we simply allow our peer to dip into their reserve, which they may or may not do (so we can merge this PR whenever we want). On the eclair side, we can "activate" this when the Phoenix node also supportsquiescence
, which implicitly means that it contains this change. In the longer term, we can clean-up those requirements as being simply dependent on the 0-reserve feature bit.Fixes #552