Bitcoin Forum
May 09, 2024, 07:35:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: The amount of data Bitcoin-transactions produce  (Read 2217 times)
Nick (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
March 04, 2011, 10:49:21 PM
Last edit: August 28, 2017, 12:13:31 PM by Nick
 #1

Here's a thing that worries me regarding the possible future growth of Bitcoin:
As I have understood it, every peer has a dataset of every transaction ever made in Bitcoins. I've looked into a block at blockexplorer.com and have estimated a single transaction to average at a size of 600 Byte.
Now there is PayPal. According to this article Paypal handles nearly 4 million transactions per day.
Now let's assume Bitcoin will grow to the same size as Paypal. 4 million transactions would produce a datavolume of 2.4GB a day. That is a lot, even considering Moore's law.
Also don't forget that Bitcoin is much more useful for microtransactions than Paypal, so with the same userbase it would produce even more transactions.
Does this radically limit Bitcoin's growth or have I missed something?
1715283317
Hero Member
*
Offline Offline

Posts: 1715283317

View Profile Personal Message (Offline)

Ignore
1715283317
Reply with quote  #2

1715283317
Report to moderator
1715283317
Hero Member
*
Offline Offline

Posts: 1715283317

View Profile Personal Message (Offline)

Ignore
1715283317
Reply with quote  #2

1715283317
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715283317
Hero Member
*
Offline Offline

Posts: 1715283317

View Profile Personal Message (Offline)

Ignore
1715283317
Reply with quote  #2

1715283317
Report to moderator
1715283317
Hero Member
*
Offline Offline

Posts: 1715283317

View Profile Personal Message (Offline)

Ignore
1715283317
Reply with quote  #2

1715283317
Report to moderator
FooDSt4mP
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 04, 2011, 10:56:30 PM
 #2

Here's a thing that worries me regarding the possible future growth of Bitcoin:
As I have understood it, every peer has a dataset of every transaction ever made in Bitcoins. I've looked into a block at blockexplorer.com and have estimated a single transaction to average at a size of 600 Byte.
Now there is PayPal. After this article from sexy Ms. Gail Turley Paypal handles nearly 4 million transactions per day.
Now let's assume Bitcoin will grow to the same size as Paypal. 4 million transactions would produce a datavolume of 2.4GB a day. That is a lot, even considering Moore's law.
Also don't forget that Bitcoin is much more useful for microtransactions than Paypal, so with the same userbase it would produce even more transactions.
Does this radically limit Bitcoin's growth or have I missed something?

From http://www.bitcoin.org/bitcoin.pdf:
Quote
Once the latest transaction in a coin is buried under enough blocks, the spent transactions before
it can be discarded to save disk space.
...
Quote
A block header with no transactions would be about 80 bytes.  If we suppose blocks are
generated every 10 minutes, 80 bytes * 6 * 24 * 365 = 4.2MB per year.  With computer systems
typically selling with 2GB of RAM as of 2008, and Moore's Law predicting current growth of
1.2GB per year, storage should not be a problem even if the block headers must be kept in
memory.


See the PDF for more details, but the gist is only the most recent transactions need to actually be kept.  Once we are certain they can't be reverted by a double spend attempt, we can drop the transactions and just keep the block headers.

As we slide down the banister of life, this is just another splinter in our ass.
Nick (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
March 04, 2011, 11:01:51 PM
 #3

Oh, I didn't know that. I have to admit that the whole concept still confuses me from time to time. Thank you!
However, 4 million transactions a day would still produce a volume of 2.4 GB which every active client has to download, whether this data is actually saved in the long term or not.
2.4 GB per day are 100MB per hour. It's possible with current broadband-connections, but it would still clog a major part of one's internet-connection.
theGECK
Sr. Member
****
Offline Offline

Activity: 411
Merit: 250



View Profile
March 04, 2011, 11:03:19 PM
 #4

This could become an issue if internet connections become throttled, or have a cap placed upon them. People who have such a cap, do you notice bitcoin having any significant impact on your data?

Use my referral codes for Bitcoin faucets and I'll send you 30% of my referral bonus - Win/Win! PM for details on all sites available or use one of the links here.

FreeBitco.in | FreeDoge.co.in
FooDSt4mP
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 04, 2011, 11:22:42 PM
 #5

Oh, I didn't know that. I have to admit that the whole concept still confuses me from time to time. Thank you!
However, 4 million transactions a day would still produce a volume of 2.4 GB which every active client has to download, whether this data is actually saved in the long term or not.
2.4 GB per day are 100MB per hour. It's possible with current broadband-connections, but it would still clog a major part of one's internet-connection.

Meh, my connection is 2MB per second (16Mb).  So we're talking about 1.3% of my bandwidth.  Also, not all clients need the full block chain.  It's really only needed for miners.

As we slide down the banister of life, this is just another splinter in our ass.
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
March 05, 2011, 12:01:48 AM
 #6

Now let's assume Bitcoin will grow to the same size as Paypal. 4 million transactions would produce a datavolume of 2.4GB a day. That is a lot, even considering Moore's law. Does this radically limit Bitcoin's growth or have I missed something?

See here:

  https://en.bitcoin.it/wiki/Scalability

Note that 4 million transactions per day sounds like a lot, but it's actually only ~45tps average.

The current BitCoin software for various reasons would top out at 7 transactions per second, but some of those limits are artificial - intended to stop the block chain ballooning in size before the network and software is ready for it.

Evolving the network to support PayPal volumes of traffic is quite possible. Right now the BitCoin network is "flat", that is, every node stores a full copy of the block chain and is capable of mining. Satoshi never envisioned it would stay this way. In future the node software will probably monitor the hosts capabilities and if the machine is beefy enough, become a supernode with a full copy of the block chain. Other nodes will run in client modes and do simplified payment verification, as described in the paper.

As to storage, tx pruning isn't implemented today, but the design of the system allows for it.
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
March 05, 2011, 03:12:11 PM
 #7

See the PDF for more details, but the gist is only the most recent transactions need to actually be kept.  Once we are certain they can't be reverted by a double spend attempt, we can drop the transactions and just keep the block headers.

Depends on what you want. Once support for thin clients exist, just keeping the block headers in the assumed best chain is enough, but for fat clients (including those miners connect to), you'll always need a database of all unspent coins (transaction outputs).

I do Bitcoin stuff.
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
March 05, 2011, 05:45:05 PM
 #8

Yes, that's his point. Txns in which all outpoints are spent can be discarded when they are buried deep enough (including on fat clients/supernodes).
asdf
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
March 05, 2011, 11:21:55 PM
 #9

Yes, that's his point. Txns in which all outpoints are spent can be discarded when they are buried deep enough (including on fat clients/supernodes).

What if an outpoint never gets spent, such as with lost coins. Will this create a kind of memory leak of transactions that can never be discarded? Is this a significant problem if at all?
Mike Hearn
Legendary
*
expert
Offline Offline

Activity: 1526
Merit: 1129


View Profile
March 05, 2011, 11:31:25 PM
 #10

It will create a disk space "leak" but disk space is so cheap it's really not an issue.
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!