Why does the age of the coin in my wallet matter?

14

When a new transaction is made, the client seems to prefer older coins in the wallet.

What is the rationale for this? Are there any cases where it doesn't make sense to strictly collect coins by age?

goodguys_activate

Posted 2012-12-02T19:15:27.177

Reputation: 11 898

Answers

10

The Bitcoin.org client only cares about age when a coin is real recent (like in the last day). Any coins older than about a day are all treated equally.

The reason recent coins matter is because the client wants to lessen the chance that legitimate spending would be considered as being spam or a denial of service attack.

If coins were recently received and then are being spent fairly quickly right after the network can't know if that is someone trying to grief the network or if that is a legitimate transaction. But a transaction made with older coins is almost certainly not being used for the purpose of griefing the Bitcoin network.

So then by requiring fees for "spam-like" transactions, if an attacker is griefing the Bitcoin network it is going to have a cost.

That's the extent of it -- a way to make attacking bitcoin expensive while allowing normal, legitimate use to remain low cost or free.

Stephen Gornick

Posted 2012-12-02T19:15:27.177

Reputation: 26 118

I think the client only prefers coins with 6 or more confirmations, which means roughly "an hour or more". In my opinion the client should priorities older coins, but doesn't in fact other than checking for 6 confirmations. It does penalise the use of newer coins by imposing a fee, but doesn't try to avoid the use of such new coins. See the calls of SelectCoinsMinConf() in src/wallet.cpp.Chris Moore 2012-12-04T04:51:46.297

7

The older a coin is, the less its ownership is disputed.

Nick ODell

Posted 2012-12-02T19:15:27.177

Reputation: 26 536

3It's important to note that the notion of a coin as a physical object doesn't really exist. The ownership of a balance is less disputable as the age of the transactions which built it increases.Colin Dean 2012-12-03T01:41:31.080