Bitcoin Forum
December 14, 2024, 06:50:06 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin fragmentation  (Read 2435 times)
mike80439 (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
September 09, 2011, 12:49:55 PM
 #1

Unless bitcoins are aggregated at some point, won't we eventually have gazillios of .0001 coins in our wallets?

When I spend a bitcoin, does the client aggregate the smallest amounts into a larger abount?

casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1140


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
September 09, 2011, 12:52:05 PM
 #2

Coins don't aggregate automatically, but if you send a transaction bigger than any of the individual "coins" in your wallet, the transaction will effectively combine enough of your coins to cover the transaction, the result being an aggregate "coin" whose value is the sum of all the inputs.  The only way to get a bunch of 0.0001's in your wallet is to receive many transactions of that size and then, importantly, to never send any of them out.  If your wallet only contains 0.0001's and you do a single send transaction, the ones you send will combine.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
bitlotto
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


BitLotto - best odds + best payouts + cheat-proof


View Profile WWW
September 09, 2011, 02:45:17 PM
 #3

If you look at one of my draws:
https://blockexplorer.com/address/1Gw6NJpoaBmaG77px8p6jE63SqpykrJcRx
You see a whole bunch of 0.25 amounts. When I pay the winner it looks like:
https://blockexplorer.com/tx/be309f53b41534073e9a3f57066907ca2db7a81a153f6dd7ceadd59f599605b1
The next time the winner spends it:
https://blockexplorer.com/tx/b72dfca4cc2d69a0b0dcb662677bd9631184bb615561efae880efb4ecd4325d5

So yes, Bitcoin will group up the coins with time. Sometimes Bitcoin will have many change addresses and for those to be combined you have to spend an amount bigger than the change addresses. So if you spent all your BTC back to yourself it will combine all your coins. Not really worth it though as it doesn't really accomplish much and you may end up paying fees depending on how many small amounts you have.

*Next Draw Feb 1*  BitLotto: monthly raffle (0.25 BTC per ticket) Completely transparent and impossible to manipulate who wins. TOR
TOR2WEB
Donations to: 1JQdiQsjhV2uJ4Y8HFtdqteJsZhv835a8J are appreciated.
MadHacker
Full Member
***
Offline Offline

Activity: 235
Merit: 100



View Profile
September 09, 2011, 08:03:48 PM
 #4

SO i could just send the bitcoins to myself and that would defrag my bitcoins as well?
casascius
Mike Caldwell
VIP
Legendary
*
Offline Offline

Activity: 1386
Merit: 1140


The Casascius 1oz 10BTC Silver Round (w/ Gold B)


View Profile WWW
September 09, 2011, 08:08:29 PM
 #5

SO i could just send the bitcoins to myself and that would defrag my bitcoins as well?

It would, but the way the current software works, it doesn't delete old transactions.  So while yes they would be defragmented, every node on the entire network would also have the old fragmented copy as well.

I will bet soon enough there will be a client that can ignore or discard old transactions, because the growth of the block chain and every user having to download it is going to be unsustainable.  But for now, it will have no practical benefit.

Companies claiming they got hacked and lost your coins sounds like fraud so perfect it could be called fashionable.  I never believe them.  If I ever experience the misfortune of a real intrusion, I declare I have been honest about the way I have managed the keys in Casascius Coins.  I maintain no ability to recover or reproduce the keys, not even under limitless duress or total intrusion.  Remember that trusting strangers with your coins without any recourse is, as a matter of principle, not a best practice.  Don't keep coins online. Use paper or hardware wallets instead.
julz
Legendary
*
Offline Offline

Activity: 1092
Merit: 1001



View Profile
September 11, 2011, 06:36:05 AM
 #6

SO i could just send the bitcoins to myself and that would defrag my bitcoins as well?

Yes - but read some of the answers on this stackexchange question to see why you might not want to do this:

http://bitcoin.stackexchange.com/questions/792/in-order-to-reduce-fees-can-i-consolidate-my-wallet-by-sending-the-entire-bala


@electricwings   BM-GtyD5exuDJ2kvEbr41XchkC8x9hPxdFd
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!