bitcoin/bitcoin — pull request #1017 by dooglus (2012-03-31 05:35:06+00:00)
Title: coin control / less change / refactor coin selection

I've updated coderrr's coincontrol patch #415 so it merges cleanly against v0.6.0, and also updated the coin selection refactor and change reduction changes and unit tests from patch #898.

They touch overlapping code, so I've merged them both here.

https://github.com/dooglus/bitcoin/tree/coincontrol-v0.6.0 has just the coincontrol patch, without the other coin selection changes.