4

My understanding is that it's possible for extra bitcoins to be left in several accounts within my wallet. The scattering of these coins into different accounts may cause future transactions to become larger in size (Kb), and therefore more costly in fees.

Does it make sense to prematurely consolidate these small accounts into a single "spend account" at some point? (perhaps while I sleep?)

Nick ODell
  • 29,184
  • 11
  • 69
  • 129
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
  • The fact that they're in different accounts doesn't matter. What matters is that they are distinct transaction outputs. What you would do is consolidate these small outputs into a single larger output. – David Schwartz Dec 03 '12 at 03:13
  • @DavidSchwartz What I'm getting at is what if I have 1000 customers who paid me to 1000 addresses. I have 0.002 BTC in each account. If I spend 2.0 BTC on something won't my transaction be huge? .. and I'll have to pay a large fee? – makerofthings7 Dec 03 '12 at 18:20
  • 1
    You'd have the same problem if they all paid you to the same address. You'd still have 1,000 transaction outputs to "gather" if you tried to spend 2 BTC, so your transaction would still be huge. – David Schwartz Dec 03 '12 at 19:59
  • @DavidSchwartz Could I divide that into smaller "free" batches so that when the time comes I won't have to pay a fee? – makerofthings7 Dec 03 '12 at 21:05
  • Theoretically yes, but practically, there's probably no point. For one thing, it would mean your final transaction would be using newer coins, which counts against it. – David Schwartz Dec 03 '12 at 21:08
  • 1
    @DavidSchwartz You hit the nail on the head (of my recent questions). If these small transactions were collected, during low expected utilization (low spend hours), then I avoid the fee after I wait N hours. It's like a logical defragmentation of my wallet balance. no? – makerofthings7 Dec 03 '12 at 22:02
  • possible duplicate of [In order to reduce fees, can I 'consolidate' my wallet by sending the entire balance to a new address in the same wallet?](http://bitcoin.stackexchange.com/questions/792/in-order-to-reduce-fees-can-i-consolidate-my-wallet-by-sending-the-entire-bal) – Highly Irregular Dec 04 '12 at 02:47
  • 2
    This question doesn't ask how, so I've asked that question here: http://bitcoin.stackexchange.com/questions/5583/how-can-i-combine-all-the-tiny-amounts-ive-received-while-minimising-transactio – Highly Irregular Dec 04 '12 at 02:54
  • @HighlyIrregular I'll give you rep for that one (Though that is the question I was going to ask next in sequence and link to them all) ;) – makerofthings7 Dec 04 '12 at 03:02
  • It's something that's been needing attention for a long time... thanks for raising it again! I suspect it won't be a simple answer though. – Highly Irregular Dec 04 '12 at 03:11

1 Answers1

1

In satoshi client, the "accounts" therein are only a convenience for labeling of receiving addresses. They don't matter for sending at all.

If you receive bitcoins, the balance is not added as in bank, but the amount is saved as "unspent output". Client only shows all these outputs together as one available balance. It doesn't matter whether one address has n unspent outputs, or these are on more addresses. When you send bitcoin, the fee is based on number of these outputs used and it is higher if they are very recent. So trying to consolidate them won't help much, only that you pay the fee sooner. And it isn't done "while you sleep", it's done by simply sending your whole balance minus fees to yourself.

In other clients, the fee algorithm can be completely different.

Juraj
  • 314
  • 1
  • 4