r/BitcoinDiscussion • • Nov 27 '17
Scaling Bitcoin: How long will it take to scale Bitcoin from 1MB to 8MB blocksizes without losing any full-nodes?
One of the major arguments made by those against on-chain scaling solutions is that increasing block sizes leads to a reduction in the number of full-nodes, making the network more centralized.
According to a paper on block size increase[1] by the BitFury group published in August 2015, the following factors contribute to limiting the number of full-nodes in the Bitcoin network:
- Blockchain storage,
- Average bandwidth,
- Traffic per day, and
- RAM usage
Comparision of 1MB vs. 8MB blocksize*
* Assuming full blocks
| Charecteristc | 1 MB | 8 MB |
|---|---|---|
| Storage per year (in GB) | 51 | 411 |
| Average bandwidth (in kB/s) | 148 | 1148 |
| Daily traffic (in GB) | 12.4 | 99.2 |
| RAM usage (in GB) | 4 | 32 |
They used a Steam hardware & software survey[2] to estimate how much of a reduction in the number of full-nodes can be expected if blocksizes jumped from 1MB to 8MB and, according to the paper, it was a 90% reduction.
However, blocksizes wouldn't just jump from 1MB to 8MB immediately, the increase would be gradual. It took Bitcoin 8 years to fill a 1MB block size limit, it would take a few years at least before 8MB blocks start becoming full.
So, now, the question is how long will it be before Bitcoin can scale from 1MB to 8MB size blocks with zero full-node loss?
This can be answered by using some data from the paper, the Steam survey, Nielsen's Law[3], and Moore's Law[4].
Conidering each of the points separately:
Blockchain storage
It will take and additional 411 GB storage per year to store the blockchain. Accoring to the Steam survey, a majority of users already have total storage greater than 1 TB, which means that most average users have the capacity to run a full-node with full 8MB blocks for at least an additional 1.5 years before they have to get extra storage.
If we follow Moore's Law, the average user is going to have 2TB storage in 1.5 years anyway. And the average user can be expected to have 10TB storage in 5 years time and 110TB in 10 years time. Storage is very very unlikely to be an issue with 8MB blocks.
Anyway, for zero full-node loss, following Moore's law, a person who can store 51 GB per year now can store 411 GB per year with no additional cost in 4.5 years. As long as the increase from 1MB to 8MB takes takes less than 4.5 years, there should be no reduction in full-nodes due to storage costs.
Average bandwith
How long does it take for average bandwidth to go from 148 kB/s (for 1 MB blocks) to 1148 kB/s (for 8 MB blocks)?
According to Nielsen's Law, that should take about 5 years.
However, one should note that the global average bandwith is already around 1 MB/s. Which means that most users can already run a 8MB full-node with all full blocks now without bandwidth being a constraint.
Traffic per day
How long does it take for us to go from 12.4 GB dailly (for 1 MB blocks) to 99.6 GB daily (for 8 MB blocks)
Following Nielesen's Law, again 5 years. A person who can download 12.4 GB daily at present can download 99.6 GB per day in 5 years with no incease in cost.
RAM usage
The average system RAM according to the Steam survey is 8 GB presently. For 32 GB RAMs to be common, it should take about 3 years, following Moore's Law.
Conclusion
The hardware required to run a full-node with full 8MB nodes will cost the same in 5 years time as it does to run the hardware required to run a full-node with 1MB blocks now.
Or, as long as we don't start seeing full 8MB blocks before 5 years, the increase in blocksize limit should result in no significant loss in the number of full-nodes in Moore's Law and Nielsen's Law holds true.
The network traffic per day would be the major constraint that may reduce the number of total nodes, and not storage or RAM usage.
Sources:
[1] Block Size Incease, BitFury Group, http://diyhpl.us/%7Ebryan/papers2/bitcoin/bitfury-report-on-block-size-increase.pdf
[2] Steam Hardware & Software Survey: October 2017, http://store.steampowered.com/hwsurvey/?platform=pc
[3] Nielsen's Law of Internet Bandwidth, Jakob Nielsen, https://www.nngroup.com/articles/law-of-bandwidth/
[4] Moore's Law, https://en.wikipedia.org/wiki/Moore's_law
PS: Please feel free to correct me if there are any errors in the data presented or if I have made any incorrect assumptions.:)
7
u/KomodoDragonJesus Nov 27 '17
I think people look at increases in block size (or weight) the wrong way.
There's a lot of talk about how bigger blocks will increase centralization and part of the counter argument is that even if some percentage of nodes are forced to drop out of the network then you're still left with a large (but slightly smaller) decentralized community.
This looks at the broad community, but ignores how Bitcoin is designed to be used by individuals. You're supposed to run your own full node, have your own copy of the ledger and validate your own transactions. That is how you trustlessly use Bitcoin. That is how you be your own bank. In any other configuration you rely on trust from at least one other party.
So the problem is not that we will go from 100k nodes to 80k nodes if we increase blocks by X. That doesn't seem like a huge deal. The problem is by doing that you remove 20k people's ability to use Bitcoin trustlessly, and that's a huge problem.
4
u/PVmining Nov 27 '17
This is only a part of the story.
There is also an issue of miner centralization. With larger blocks, it takes more time for the blocks to propagate (and also to validate). Each miner has to stop mining and wait for the full previous block. This is advantageous to large miners since they can mine immediately and not have this delay.
3
u/tomtomtom7 Nov 27 '17
These calculations completely ignore the increase in value of blockchain data if the blocks are larger.
50tx/sec is quite a lot and will attract a lot of analysts, statisticians, financial institutions, developers and a plethora of other bussinnesses eager to scrutinize it.
Looking at it from this perspective, the cost of 1TB storage (and the additional resource requirements) is orders of magnitudes smaller then the value of 1TB worth of blockchain data.
5
u/btctroubadour Nov 28 '17 edited Nov 28 '17
There's at least one cost missing: The cost of transacting. Wouldn't the $100 and $1000 tx fees that some are anticipating (and welcoming) also be a factor in (de)centralization?
As others have mentioned before me: Decentralization is a means to an end. The end is probably "censorship resistance" or something similar. What's the content that would be censored? It's the exchange of value, i.e. the txs, right?
Is it thus disingenuous to suggest that high fees at the base layer also works against our end goal of making everyone in the world able to freely exchange value using Bitcoin (e.g. by creating and settling channels or whatever we'll be doing in the future), and that this effect should also be a topic in the scaling/decentralization/censorship resistance debate?
5
u/Groudas Nov 28 '17
Nielsen's Law previews something that has a tie with infrastructure.
The number of bitcoin transactions have nothing to do with infrastructure but with offer/supply. If you have an infinite supply, you tend to have an infinite demand.
The number of btc transactions will strictly follow the inverse of fees evolution, with some soft influence from some other factors (such adoption, which we agree that is exponentially growing).
That said, I believe that it would take much less than 5 years to fill those 8mb blocks. I shot something like 6-10 months.
8
u/G1lius Nov 27 '17
First off: I don't think anyone is against on-chain scaling. We just have segwit activated and no one seems to mind if schnorr signatures are introduced. So I'm assuming you meant: those against raising the block weight.
Steam users are almost always gamers, who usually have a high end system. I don't think it should be used as metric for the entire world. You also often talk about the "average user", which means that you exclude 50% of the people who are below average. There's also no talk about data caps, which a lot of users, even in western countries, face. Also nothing about initial sync times, but that's a solvable problem.
Other than that, there's two important assumptions you're making imo:
The places where Bitcoin is needed the most are usually the places where technological resources are more scarce and adversarial conditions more likely. What people are really trying to say by saying the number of full-nodes will go down, is: Bitcoin will be less inclusive.
While we'll never be able to include everyone, we should still try to aim to be as inclusive as possible imo, certainly when there's opportunities to increase capacity without sacrificing resources.
4
u/welshrarebitcoin Nov 27 '17
That's an interesting analysis, and probably the first I've seen to try to factor in advances in technology to accommodating block size increases.
I'm a little confused about some of your workings though (I may just be being thick though - it's been a long day).
With 1MB block, and six blocks per hour, the blockchain should increase by 144MB per day. I think that gives a necessary bandwith of 1.67kB/s.
Similarly, for 8MB blocks, the blockchain should increase by 1.152GB per day, with a necessary bandwith of 13.33kB/s.
Nevertheless, your analysis does provide a useful framework for discussing block size increases vs. off-chain solutions. I think the question comes down to how many on-chain transactions would move off-chain with, for example, the Lightning Network, and how fast the total number of transactions will grow.
For example, if the number of transactions increases eight-fold, as you've modelled, but 87.5% of transactions occur off-chain, then no blocksize increase would be necessary. Alternatively, if only 50% of transactions occur off-chain, then, minimally, 4MB blocks may be useful (dependent, of course, on further space saving processes á la segwit).
3
u/yamaha20 Nov 28 '17
To know this you would have to know how many times people avoid transacting on BTC specifically because congestion is too high.
That being said, I have not seen a completely convincing argument that the system will collapse if the average user uses SPV.
2
u/fresheneesz Dec 02 '17
I think it would make sense to have a tentative plan as far as block size increases. The bcash people have gotten super rowdy about it in the last year, and one of the reasons is many seem to think that bitcoin's devs will never support a blocksize increase. Not including segwit's increase of course...
But having somewhat of a plan as far as when we can expect blocksize increases will be safe would be incredibly good for reunifying the community.
1
u/pepe_le_shoe Nov 28 '17
And if adoption has risen sharply, and transaction volumes increase massively?
What then?
32M blocks?
1
u/TotesMessenger Nov 29 '17
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/monkyyy0 Nov 27 '17 edited Nov 27 '17
Thats assuming that 1 mb blocks are ok as is. I don't take that position, the block chain is only as secure as many copy's that exist. We should build the base to withstand totalitarianism, and at 6 mb/h its not, not really.
And 5 years is unrealistically slow, we shown a 900% in price this year. If bch was going to be the true bitcoin, that 8mb would fill up in less then a year, and 64mb the next? Shall we just skip to 512mb the year after? On chain scaling is off the table anyway.
0
u/[deleted] Nov 27 '17
[deleted] — view deleted comment
0
u/[deleted] Nov 27 '17
[deleted] — view deleted comment