Skip to content

P2TR change outputs between 330 and 546 sat should not be absorbed into tx fees #8395

Open
@whitslack

Description

@whitslack

I opened a channel with a manually specified set of UTxOs and a manually specified fee rate. I was expecting a change output of 384 sat, but CLN 25.02.2 lumped my change into the transaction fees, causing me to overpay by 2x. The dust limit for Taproot outputs is 330 sat, so my change should not have been absorbed into the transaction fees.

When I asked @rustyrussell about this privately, he replied:

We don't differentiate dust by output type. A little surprised anyone cares, but since you do, please file an issue? […] The fix should be simple. There are some places where the dust limit is used by the bolt spec and that is set. But for the normal case, we always have a taproot change output, so we should drop [the dust limit for that output].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions