Skip to content

Set max channel dust limit to 10,000 sats for all zero-fee-htlc-tx chans#4484

Merged
TheBlueMatt merged 2 commits intolightningdevkit:mainfrom
tankyleo:2026-03-accept-high-dust-limits
Mar 13, 2026
Merged

Set max channel dust limit to 10,000 sats for all zero-fee-htlc-tx chans#4484
TheBlueMatt merged 2 commits intolightningdevkit:mainfrom
tankyleo:2026-03-accept-high-dust-limits

Conversation

@tankyleo
Copy link
Contributor

    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 #4225

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
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Mar 12, 2026

👋 I see @tnull was un-assigned.
If you'd like another reviewer assignment, please click here.

@tankyleo tankyleo self-assigned this Mar 12, 2026
@tankyleo tankyleo added this to the 0.3 milestone Mar 12, 2026
@tankyleo tankyleo moved this to Goal: Merge in Weekly Goals Mar 12, 2026
@ldk-reviews-bot ldk-reviews-bot requested a review from tnull March 12, 2026 21:37
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@TheBlueMatt TheBlueMatt merged commit 4a3aaef into lightningdevkit:main Mar 13, 2026
18 of 21 checks passed
@github-project-automation github-project-automation bot moved this from Goal: Merge to Done in Weekly Goals Mar 13, 2026
@tankyleo tankyleo removed the request for review from tnull March 13, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants