How can I control which coins to spend in a transaction?

9

5

When creating a bitcoin transaction, you have to choose which coins to use in them. The standard client does this in a way to avoid unconfirmed inputs and minimize the number of inputs and amount of change involved. Since not all coins are created equal, I may have other preferences (like spend unconfirmed coins first to get rid of them, or not cross inputs between different trading partners). Is there any way I can have more control over the process?

Thilo

Posted 2012-01-11T04:52:41.193

Reputation: 4 491

I suppose a workaround/partial solution is to use multiple wallets. Then you can keep coins apart, but also cannot make "large" spends.Thilo 2012-01-11T04:54:46.290

Answers

4

Currently this is not possible with the standard client, other than making separate wallets. There is a patch for coin selection on github, which was very promising. So this feature may make it into a future version.

nanotube

Posted 2012-01-11T04:52:41.193

Reputation: 2 254

2

Old question, so answers are outdated. Anyone reading this now: bitcoin-qt has coin control features that let you choose whichever txin you want to use.

Jannes

Posted 2012-01-11T04:52:41.193

Reputation: 5 823

1

Check out Armory, a new client that

uses an algorithm for coin selection which can be optimized for anonymity or minimal transaction fees.

ripper234

Posted 2012-01-11T04:52:41.193

Reputation: 25 192

1armory looks pretty awesome. still pre-alpha though.nanotube 2012-01-11T20:23:15.023