Set max channel dust limit to 10,000 sats for all zero-fee-htlc-tx chans#4484
Merged
TheBlueMatt merged 2 commits intolightningdevkit:mainfrom Mar 13, 2026
Merged
Conversation
Contributor
tankyleo
commented
Mar 12, 2026
In a subsequent commit, we will allow the counterparty's dust limit to be greater than our `MIN_THEIR_CHANNEL_RESERVE_SATOSHIS`. Our selected reserve must always be greater than their dust limit, so we set our selected reserve to be equal to or greater than their dust limit.
This includes both keyed anchor channels, and 0FC channels. The dust limit for HTLCs in such channels is independent of the negotiated feerate, so a party may set a higher dust limit for such channels. Fixes lightningdevkit#4225
|
👋 I see @tnull was un-assigned. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.