• Pieter Wuille's avatar
    Fix for small change outputs · a7dd11c6
    Pieter Wuille authored
    With the separation of CENT and MIN_TX_FEE, it is now reasonable
    to create change outputs between 0.01 and 0.0005, as these are
    spendable according to the policy, even though they require a fee
    to be paid.
    
    Also, when enough fee was already present, everything can go into
    a change output, without further increasing the fee.
    a7dd11c6
wallet.cpp 43.8 KB