Bitcoin Forum
May 08, 2024, 11:41:05 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Just a newbie question about blockchain size.  (Read 2528 times)
velhoti (OP)
Member
**
Offline Offline

Activity: 84
Merit: 28


View Profile
February 21, 2015, 04:25:55 PM
Merited by dbshck (2)
 #1

The blockchain is becoming bigger and the trend is that less people store it in its own computer and use online wallets or some other alternatives (mainly in cell phones which have little memory), possibly in the future will be necessary datacenter infrastructure to store the entire blockchain.

As far as I know the bitcoin network need many nodes having the entire blockchain to be reliable, so the huge blockchain will affect the bitcoin network?
1715168465
Hero Member
*
Offline Offline

Posts: 1715168465

View Profile Personal Message (Offline)

Ignore
1715168465
Reply with quote  #2

1715168465
Report to moderator
1715168465
Hero Member
*
Offline Offline

Posts: 1715168465

View Profile Personal Message (Offline)

Ignore
1715168465
Reply with quote  #2

1715168465
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715168465
Hero Member
*
Offline Offline

Posts: 1715168465

View Profile Personal Message (Offline)

Ignore
1715168465
Reply with quote  #2

1715168465
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
February 21, 2015, 06:02:03 PM
Merited by dbshck (8)
 #2

The blockchain is becoming bigger and the trend is that less people store it in its own computer and use online wallets or some other alternatives (mainly in cell phones which have little memory), possibly in the future will be necessary datacenter infrastructure to store the entire blockchain.

As far as I know the bitcoin network need many nodes having the entire blockchain to be reliable, so the huge blockchain will affect the bitcoin network?

The blockchain is currently only 29 GB in size.  According to Western Digital, you can purchase a 6 TB internal hard drive for a PC for only $270 today.  That doesn't sound like "datacenter infrastructure" to me.

Currently the blocksize is limited to a maximum of 1 MB per block, and the protocol limits the number of blocks to approximately 1 block every 10 minutes. Doing some simple arithmetic:

Code:
(365 days per year) times
(24 hours per day) times
(60 minutes per hour) equals
(525600 minutes per year) divided by
(10 minutes per block) times
(1 megabyte per block) equals
(52560 megabytes per year) divided by
(1000 megabytes per gigabyte) equals
52.56 gigabytes per year

It appears that unless/until the protocol rules change, the blockchain can't grow by much more than 52.56 gigabytes per year.

Since 6 TB is 6,000 gigabytes, we can see with some simple arithmetic:

Code:
(6000 gigabytes) divided by
(52.56 gigabytes per year) equals
114.16 years

That means that a single $270 hard drive purchased today would be able to store the entire blockchain for the next 114 years.

How much has the size of a hard drive grown in the past 114 years, and how much has the cost per byte decreased over that same amount of time?  Taking that into consideration, how big do you suppose non-volatile storage (can we even reliably predict if hard drives will be the future storage media) will be 114 years from now?  How much do you suppose that storage will cost per byte?

Also, keep in mind that most blocks are not even using the entire 1 megabyte available to them yet.  Until they are, this further increases the amount of time until the 6 TB hard drive is full.

There has been some recent talk about increasing the maximum block size.  If this occurs, blocks might eventually grow bigger than 1 megabyte.  It is difficult to predict how quickly they will grow or how large they will grow (it depends on how quickly bitcoin becomes popular and how popular it becomes).  Obviously if blocks increase above 1 megabyte, it will reduce the amount of time until the blockchain fills a 6 TB hard drive.

It is also important to remember that bitcoin was designed with the intention that full nodes would only be run in large data centers.  Satoshi expected that there would eventually be less than 100,000 full nodes on the bitcoin network:

- snip -
I anticipate there will never be more than 100K nodes, probably less.  It will reach an equilibrium where it's not worth it for more nodes to join in.  The rest will be lightweight clients, which could be millions.

At equilibrium size, many nodes will be server farms with one or two network nodes that feed the rest of the farm over a LAN.

- snip -
If the network becomes very large, like over 100,000 nodes, this is what we'll use to allow common users to do transactions without being full blown nodes.  At that stage, most users should start running client-only software and only the specialist server farms keep running full network nodes, kind of like how the usenet network has consolidated.
- snip -

The current system where every user is a network node is not the intended configuration for large scale.  That would be like every Usenet user runs their own NNTP server.  The design supports letting users just be users.  The more burden it is to run a node, the fewer nodes there will be.  Those few nodes will be big server farms.  The rest will be client nodes that only do transactions and don't generate.
- snip -
yvv
Legendary
*
Offline Offline

Activity: 1344
Merit: 1000

.


View Profile WWW
February 21, 2015, 06:15:33 PM
 #3

Quote
Currently the blocksize is limited to a maximum of 1 MB per block

Which limits the amount of transactions to few thousand per block (and per 10 minutes), according to blockchain.info. Which is ok for marginally used network.

.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
February 21, 2015, 07:08:31 PM
Last edit: February 21, 2015, 07:19:56 PM by DannyHamilton
 #4

Quote
Currently the blocksize is limited to a maximum of 1 MB per block
Which limits the amount of transactions to few thousand per block (and per 10 minutes), according to blockchain.info. Which is ok for marginally used network.

I believe the 7 day average block size is currently approximately 377.1 kilobytes.

As recently as February 8, the 7 day average block size was 293.1 kilobytes, and the largest 7 day average was 445.7 kilobytes back on January 27.

This would seem to imply that the usage of bitcoin could easily double from what it has been in 2015, and the blocks would still be less than 1 megabyte on average.  If the usage increased significantly above double what it has been, and the block size in not increased, then transaction fees would begin to increase a bit.  The amount of spam an non-financial activity in the blockchain would significantly drop.

If usage increased much beyond 265 transactions per minute (4.4 transactions per second*) and the maximum block size is not increased, then it would become difficult (impossible?) for the average user to use bitcoin for simple purchases and other financial transactions.

Of course, I've already mentioned that:

- snip -
There has been some recent talk about increasing the maximum block size.  If this occurs, blocks might eventually grow bigger than 1 megabyte.  It is difficult to predict how quickly they will grow or how large they will grow (it depends on how quickly bitcoin becomes popular and how popular it becomes).  Obviously if blocks increase above 1 megabyte, it will reduce the amount of time until the blockchain fills a 6 TB hard drive.
- snip -

EDIT:

*This 4.4 transactions per second number was calculated as follows:

  • Assume that the average user is using compressed key addresses
  • Assume that (with effort and financial incentive) it is possible for most transactions to consist of 2 inputs and 2 outputs

A block has an 80 byte header.  This leaves 999920 bytes for transactions.
An input that was received at a compressed key address requires at most 149 bytes to spend
A standard address output requires 34 bytes.
A transaction has 10 bytes of additional (non-input or output) information

2 inputs at 149 bytes each plus 2 outputs at 34 bytes each plus 10 bytes of transaction overhead results in a transaction of 376 bytes.

999920 bytes of transaction space divided by 376 bytes per transaction results in room for 2659.36 transactions per block.  Since blocks occur on average every 10 minutes that's 265.936 transactions every minute.  Divide that by 60 seconds per minute and the result is 4.4 transactions per second.


EDIT 2: While putting together the above edit, I discovered an error in my math.  I forgot to divide by the 10 minutes per block when calculating the number in the parenthesis and accidentally ended up with 44 transactions per second.  The number has been corrected to 4.4 transactions per second.
velhoti (OP)
Member
**
Offline Offline

Activity: 84
Merit: 28


View Profile
February 21, 2015, 10:20:13 PM
 #5

Quote
The blockchain is currently only 29 GB in size.  According to Western Digital, you can purchase a 6 TB internal hard drive for a PC for only $270 today.  That doesn't sound like "datacenter infrastructure" to me.

That means that a single $270 hard drive purchased today would be able to store the entire blockchain for the next 114 years.


Maybe "datacenter" was a exageration but the actual blockchain is already big to me. In theory we wont have this problem for 114 years but my pc is already with lacking space and I will not buy other HD, I do prefer to use some on-line wallet or paper wallet or anything else, still if there are some rate for use.
So less one with blockchain.
My phone can not store the blockchain too.
najzenmajsen
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500



View Profile
February 22, 2015, 12:23:54 AM
 #6

Quote
The blockchain is currently only 29 GB in size.  According to Western Digital, you can purchase a 6 TB internal hard drive for a PC for only $270 today.  That doesn't sound like "datacenter infrastructure" to me.

That means that a single $270 hard drive purchased today would be able to store the entire blockchain for the next 114 years.


Maybe "datacenter" was a exageration but the actual blockchain is already big to me. In theory we wont have this problem for 114 years but my pc is already with lacking space and I will not buy other HD, I do prefer to use some on-line wallet or paper wallet or anything else, still if there are some rate for use.
So less one with blockchain.
My phone can not store the blockchain too.
I'd reccomend you to look into multibit , online wallets are NOT safe.
GreenStox
Sr. Member
****
Offline Offline

Activity: 1148
Merit: 252


Undeads.com - P2E Runner Game


View Profile
February 22, 2015, 04:51:45 PM
 #7

I`ve already mentioned a solution to this somewhere.

We need to have a offline private key storage with offline signatures like Armory delivers.

However the broadcasting feature should be done by big storage companies who can afford to store the blockchain.

Using services like this:
https://blockchain.info/pushtx

This feature needs to be integrated into a lightweight wallet, so that once you securely sign your transaction offline, you can broadcast it on your online PC, from a lightweight wallet, without the need to have the blockchain on your PC.

Is there any lightweight wallet that offers this feature? Or is there any plan to do so in the future?

💀|.
   ▄▄▄▄█▄▄              ▄▄█▀▀  ▄▄▄▄▄█      ▄▄    ▄█▄
  ▀▀▀████████▄  ▄██    ███▀ ▄████▀▀▀     ▄███   ▄███
    ███▀▄▄███▀ ███▀   ███▀  ▀█████▄     ▄███   ████▄
  ▄███████▀   ███   ▄███       ▀▀████▄▄███████████▀
▀▀███▀▀███    ███ ▄████       ▄▄████▀▀████   ▄███
 ██▀    ▀██▄  ██████▀▀   ▄▄█████▀▀   ███▀   ▄██▀
          ▀▀█  ▀▀▀▀ ▄██████▀▀       ███▀    █▀
                                      ▀
.
.PLAY2EARN.RUNNER.GAME.
||VIRAL
REF.SYSTEM
GAME
|
████████████████████████████
████████████████████████████
████████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████▀▀▄██████▄▀▀████████
███████  ▀        ▀  ███████
██████                ██████
█████▌   ███    ███   ▐█████
█████▌   ▀▀▀    ▀▀▀   ▐█████
██████                ██████
███████▄  ▀██████▀  ▄███████
████████████████████████████
████████████████████████████
████████████████████████████
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1097


View Profile
February 22, 2015, 05:55:44 PM
 #8

Quote
Just a newbie question about........

Satoshi has answered this newbie question in 2008:

https://bitcoin.org/bitcoin.pdf (Section 8: Simplified Payment Verification)


Quote
my pc is already with lacking space and I will not buy other HD

Many people already have 29GB of RAM in their PC, 29GB of HD is just nothing. If you can't even spare 29GB to hold the blockchain, you shouldn't run a full node.

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
velhoti (OP)
Member
**
Offline Offline

Activity: 84
Merit: 28


View Profile
February 22, 2015, 06:47:13 PM
 #9

Many people already have 29GB of RAM in their PC, 29GB of HD is just nothing. If you can't even spare 29GB to hold the blockchain, you shouldn't run a full node.

How to have a wallet without run a full node? do you suggest some way?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
February 22, 2015, 07:44:18 PM
 #10

I`ve already mentioned a solution to this somewhere.

We need to have a offline private key storage with offline signatures like Armory delivers.

However the broadcasting feature should be done by big storage companies who can afford to store the blockchain.

Using services like this:
https://blockchain.info/pushtx

This feature needs to be integrated into a lightweight wallet, so that once you securely sign your transaction offline, you can broadcast it on your online PC, from a lightweight wallet, without the need to have the blockchain on your PC.

Is there any lightweight wallet that offers this feature? Or is there any plan to do so in the future?

Yes.

It's called Electrum.

https://electrum.org/



Many people already have 29GB of RAM in their PC, 29GB of HD is just nothing. If you can't even spare 29GB to hold the blockchain, you shouldn't run a full node.

How to have a wallet without run a full node? do you suggest some way?

MultiBit and Electrum are two options you can look into.
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
February 24, 2015, 12:50:20 AM
 #11

Quote
Just a newbie question about........

Satoshi has answered this newbie question in 2008:

https://bitcoin.org/bitcoin.pdf (Section 8: Simplified Payment Verification)


Quote
my pc is already with lacking space and I will not buy other HD

Many people already have 29GB of RAM in their PC, 29GB of HD is just nothing. If you can't even spare 29GB to hold the blockchain, you shouldn't run a full node.

Many.... as in maybe 3% or less of home desktop users?  Shit, I only have 24GB of RAM.

As for the HDD space, yes, 29GB of HDD space is nothing.

Unless google fiber decides to come operate in this rural texas city I'm in, I'm relatively certain that bandwidth will always be my issue, not my PC specs.   768kbps upstream = detrimental to be running a public open node.  

Quote
How to have a wallet without run a full node? do you suggest some way?
You really don't have 29GB of HDD space?

anyway, I run a "full node" by just using connect= to one of my servers.  That way I don't connect to anyone else & don't have my upstream saturated (& slow people down in the process)
velhoti (OP)
Member
**
Offline Offline

Activity: 84
Merit: 28


View Profile
February 24, 2015, 01:09:44 AM
 #12


You really don't have 29GB of HDD space?
not left, my HDD is full now
speedy1987
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile
February 26, 2015, 02:18:38 AM
 #13


You really don't have 29GB of HDD space?
not left, my HDD is full now


Your HDD is small and old.  29 GB of HDD space is nothing today.
It equals to instalation of any new game.
velhoti (OP)
Member
**
Offline Offline

Activity: 84
Merit: 28


View Profile
February 26, 2015, 03:36:27 AM
 #14


You really don't have 29GB of HDD space?
not left, my HDD is full now


Your HDD is small and old.  29 GB of HDD space is nothing today.
It equals to instalation of any new game.

I could have a new HDD with 1,000,000TB but full of files with no 29 GB left (if did exist).
Zawamiya
Hero Member
*****
Offline Offline

Activity: 526
Merit: 500



View Profile
February 28, 2015, 05:40:43 PM
 #15

you can use light version of bitcoin wallets like multibit,Electrum,Armory,Mycelium etc
they don't download big blockchain
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1009


View Profile
February 28, 2015, 05:56:31 PM
 #16

I think this is relevant for the OP... http://en.wikipedia.org/wiki/Moore%27s_law

Just wanted to add this, because as it is already said, this is a non-issue, no impact whatsoever in the number of nodes or any impact at all in the network. If you can't/don't want to store the blockchain, use other clients.
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!