-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Bisq does not add "dust" outputs to miner fee #4039
Comments
So you had actual transactions with outputs below the dust limit? I though we had some dust check in place already during transaction creation, so I just wanted to make sure before someone digs into this codebase. One more thing: to prevent confusion what is up for compensation and what isn't please don't add issues to the |
Yes, this is a common recurring issue in Bisq, @huey735 how many cases would you say you've seen caused by "the dust issue" ? |
@wiz recently I can at least think of these two:
The first one is slightly different from what this issue is about but it also demonstrates Bisq inability to manage dust values. |
example in P2P wallet
example when creating a trade offer
example when taking a trade offer
|
Closing as fixed, thanks @jmacxx for your help on this! |
Background
According to Bitcoin consensus rules, no output can be less than 546 sats. If a transaction with such an output is broadcast, it will be rejected.
Description
Bisq attempts to broadcast Bitcoin transactions containing "dust" outputs, instead of simply adding the dust to the miner fee like most wallets do.
Version
v1.2.7
Steps to reproduce
This is the difficult part, as users randomly do this if their transaction coincidentally results in an output of less than 546 sats. However, since Bisq assumes transactions it creates are valid (without checking the dust rule), this results in triggering other random Bisq issues. Sometimes it results in a failed trade, sometimes it results in a corrupted wallet.
Expected behaviour
The dust output should not be created, and instead added to fees.
Actual behaviour
The dust output is created, and the Bitcoin transaction is rejected, causing further issues in Bisq depending on the situation.
The text was updated successfully, but these errors were encountered: