<p>It seems bitcoinj creates invalid transactions in multiple cases, so far I've seen:</p>
<ol>
<li>
<p>The "dust" consensus rule is being violated, not sure how to reproduce this yet</p>
</li>
<li>
<p>The "min relay fee" consensus rule is being violated when user sets custom fee to 1 sat/byte and virtual TX size gets rounded down and effective fee becomes 0.995 sat/byte</p>
</li>
</ol>
<p>Obviously these 2 bugs should be fixed, but maybe we can also improve the handling the exceptional case of rejected transaction broadcast:</p>
<ol>
<li>
<p>The Bisq app should display an error if bitcoinj peer rejects broadcasting of the TX, with the reason given together with the full TX encoded in hex for further debugging</p>
</li>
<li>
<p>The Bisq app should have a method to export the raw TX from the UI list of transactions, encoded in hex for further debugging</p>
</li>
<li>
<p>The Bisq app should have a (hidden) method to manually remove unconfirmed transactions from the wallet so if the broadcast fails the user can try creating a new TX</p>
</li>
</ol>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3306?email_source=notifications&email_token=AJFFTNT5NR3RQIN5FMSZWBLQMLN7VA5CNFSM4IZC4ON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAAAH3I#issuecomment-536871917">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNX4JH33N5V4K73U5XLQMLN7VANCNFSM4IZC4ONQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNVKJDU6KO7IVDRF5NLQMLN7VA5CNFSM4IZC4ON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAAAH3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3306?email_source=notifications\u0026email_token=AJFFTNT5NR3RQIN5FMSZWBLQMLN7VA5CNFSM4IZC4ON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAAAH3I#issuecomment-536871917",
"url": "https://github.com/bisq-network/bisq/issues/3306?email_source=notifications\u0026email_token=AJFFTNT5NR3RQIN5FMSZWBLQMLN7VA5CNFSM4IZC4ON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAAAH3I#issuecomment-536871917",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>