Browse Source
Prior to this commit, it was possible for a modified taker client to get a maker to participate in a join tx with a size less than their minsize, which could burn up to an amount of the txfee contribution to miner fees. After this commit, the maker stops the coinjoin coordination when the too-small coinjoin size is seen, as intended. Additionally, a check is now in place in the function `Maker.verify_unsigned_transaction` that the earned amount is positive, which otherwise could raise an Exception (but should now be impossible in any case). Also, changed the default txfee_contibution to zero as it is of no value to have a nonzero amount. Also return added for unrecognized orderid, for clearer error messages.master
3 changed files with 9 additions and 2 deletions
Loading…
Reference in new issue