[bisq-network/bisq] Prevent dust outputs from being created during the trade process (#4094)

James Cox notifications at github.com
Tue Mar 24 16:51:12 UTC 2020

This change fixes an issue whereby dust change outputs are inadvertently created during the trading process, unbeknownst to the user.  The dust outputs cause the Bitcoin node to reject the
transaction and the trade then becomes stuck.

The solution taken here is to detect a dust TXO during the trade process and remove it from the transaction before broadcasting.  This applies in both making an offer and/or taking an existing offer.  When a dust output is prevented, it will be noted in the log as follows:


Related to #4039

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Remove dust outputs created during the trade process

-- File Changes --

    M core/src/main/java/bisq/core/btc/wallet/TradeWalletService.java (24)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200324/50fd6cdc/attachment.html>

More information about the bisq-github mailing list