mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
99165e7bd9
Set the burn cap of a candidate to zero if he has an invalid receiver address, that is, one that bitcoinj cannot parse. This prevents trade failure when creating the DPT, by making such BM inactive and distributing their share to the other BM. (Setting the burn cap to zero is a little more robust than simply filtering out such candidates, as 'BurningManService' handles subsequent share redistribution better than '(DelayedPayoutTx|BtcFee)ReceiverService'.) While this case should normally never occur, due to UI validation of the custom receiver address, there are at least two ways a BM could invalidate his own receiver address if so inclined: 1) He could simply bypass the UI validation; 2) He could manually create a compensation issuance tx with a change address type unrecognised by bitcoinj, such as P2TR, as the address field is pulled straight from the RPC JSON by each full DAO node. Thus, it is necessary to check both change and custom addresses. |
||
---|---|---|
.. | ||
.tx | ||
src | ||
build.gradle | ||
update_translations.sh |