Fix for small change outputs
authorPieter Wuille <pieter.wuille@gmail.com>
Wed, 25 May 2011 16:40:27 +0000 (18:40 +0200)
committerPieter Wuille <pieter.wuille@gmail.com>
Wed, 25 May 2011 19:30:14 +0000 (21:30 +0200)
commitca253d591190255227e8c649b271503fdd1caf42
tree2c07a63e8cf8b7648d9337bf16a5dc6809364f95
parent69a27a4ec68e7a2ea6e481b950d11f5aea42c814
Fix for small change outputs

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.
src/main.cpp