bitcoin/bitcoin — pull request #4052 by rnicoll (2014-04-13 13:22:41+00:00)
Title: Make semantics of coin choosing algorithm clearer

Added new constant to represent the desirable minimum remainder to leave in spent transactions, where change is required.
Added comments to coin selection code to clarify process.