Why the Great Firewall of China Is Causing Serious Issues for Bitcoin Miners
What's wrong with increasing the block size limit ? This is the question that a portion of the Bitcoin community has been asking almost nonstop since the controversy around this possible alteration to the protocol went into hyperdrive last year.
In a recent appearance at Bitcoin Meetup Switzerland , Bitcoin Core Contributor Jonas Schnelli covered at least one possible issue with raising the block size limit too quickly: the effect larger blocks have on wasted resources for miners.
It should be noted that Schnelli has decided not to take an official, public stance on the block size debate.
In Bitcoin Mining, Every Second Counts
A key point to understand about bitcoin mining is every second of hashing affects one's ability to turn a profit. New blocks are not received by all nodes on the network instantaneously, which means miners are, at least at times, wasting resources by building on an old block that is no longer the most recent. After all, a miner can only build on top of someone else's found block after he knows that block exists.
Schnelli explained this issue during his recent talk in Zurich:
This is not the first time a Bitcoin Core contributor has talked about the issue of block propagation in terms of the mining process. Multiple developers discussed this problem in interviews during the leadup to Scaling Bitcoin Montreal.
Do Bigger Blocks Mean Bigger Profits for Bigger Miners?
In the past, Bitcoin Core Contributor Peter Todd also has discussed this issue. During his presentation at Scaling Bitcoin Montreal, Todd explained how lousy block propagation becomes more problematic when the Great Firewall of China is factored into the equation.
Due to the way the Great Firewall works, miners in China often find out about new blocks before miners in other countries (especially across the world in the United States). Since China also currently holds a majority of the hashing power on the network , miners who are not in China end up losing out on a bit of revenue. This is due to the fact that, on average, miners outside of China will hear about new blocks later than miners inside of China, which means non-Chinese miners waste more resources on blocks that have already been found.
Todd pointed to some past research to illustrate his point during his Scaling Bitcoin talk:
Todd noted that losses are lower in reality due to Blockstream Core Tech Engineer and Bitcoin Core Contributor Matt Corallo 's Bitcoin Relay Network , and it should also be pointed out that Pieter Wuille's work was testing 20-megabyte blocks.
The point here is large miners have an added advantage over small miners due to the time it takes for miners to learn about new blocks. If the block size limit were increased, it would take longer for blocks to propagate around the network, thus increasing this advantage.
One of the original founders of Bitcoin Classic , Jonathon Toomim , also presented on the issues related to block propagation with bigger blocks at Scaling Bitcoin Hong Kong. His testing focused on the now-withdrawn BIP 101 proposal, and he concluded that the increase to 8 megabytes would not be appropriate. During his tests, he found it took anywhere between 15 and 150 seconds to send block data to another peer when the two parties were on opposite sides of the Great Firewall of China.
At the Bitcoin Foundation 's DevCore Workshop back in October, Bitcoin Core Developer Gregory Maxwellexplained that the second-to-last mining pool to learn about a new block is currently dealing with a 5 percent orphan rate.
On a related note, there's a theorized vulnerability in Bitcoin mining, known as selfish mining , where a miner may decide to not let others know about a block they found in order to give themselves a head start on finding the next block.
Possible Solutions to Block Propagation Issues
There are a few proposed solutions that could solve the issue of slow block propagation on the Bitcoin network. Bitcoin Core's current roadmap includes two such solutions: invertible bloom lookup tables (IBLTs) and weak blocks . According to the Bitcoin Core website, these two features can offer a 90 percent reduction in critical bandwidth when relaying blocks, which should allow for a safer increase of the block size limit.
Two possible solutions recently brought up by Bitcoin Classic Developer Gavin Andresen on this issue are UDP broadcast of block headers and validationless mining. Bitcoin Security Consultant Sergio Lerner recently wrote a blog post on the latter of the two options.
There are also other proposed solutions for this issue, but the point is that plenty of smart people are working on potential fixes. Based on Bitcoin Core's roadmap, it appears that IBLTs and weak blocks are the most likely solutions to get implemented first.
Scaling Bitcoin Is Not Simple
One of the last points made by Schnelli at Bitcoin Meetup Switzerland is that the issue of scalability is not as simple as some have made it out to be.
Like many other developers involved with Bitcoin Core, Schnelli views Segregated Witness (SegWit) as a viable alternative to simply increasing the block size limit. Bitcoin Core Contributor Eric Lombrozo recently outlined five benefits of the SegWit proposal at Blockchain Agenda San Diego .
Kyle Torpey is a freelance journalist who has been following Bitcoin since 2011. His work has been featured on VICE Motherboard, Business Insider, RT's Keiser Report and many other media outlets. You can follow@kyletorpey on Twitter.
The views and opinions expressed herein are the views and opinions of the author and do not necessarily reflect those of Nasdaq, Inc.