When you really try to nail down what makes a cryptocurrency like Bitcoin really, the more technical you get, the closer you are to discussing block size.
A block is really a set of data, and for Bitcoin, they’re mostly related to transactions. Bitcoin miners are really in the business of adding blocks of information about transactions to a database known as apublic ledger.
In the end, that public ledger is really just a series ofblocksthat have beenchainedtogether to provide a complete and demonstrated history of transactions. They’re only every really ‘processed’ when the blocks storing their details have been mined.
But the block size is really more of an upper limit to the amount of data allowed to be stored in each block. More data means more transactions to be added to the ledger at once.
It also means more computing power required tomine that blockonto the chain – because, well, it’s more data. Just like it takes longer to send a high-quality GIF, it similarly takes longer to mine a block that’s bigger.
This problem was especially felt at peak Bitcoin hyper-mania at the end of last year when more than 200,000 transactions were sitting unconfirmed – miners inundated with 1MB blocks packed tight with data.
When there is a supposed 1MB limit to block size for Bitcoin, a block was mined that wasover 2MB in size. This hasthrown some Redditors into confusion; but while a 2MB block might initially seem like an anomaly, there’s a reason why this happens.
But before we get into what leads to the increased block size, it is worth pointing out that 2MB block was not even the first one:
The first 2MB bitcoin blocks were mined this weekend (see block 505253 https://t.co/0Eeh5Jk05E – 2.217 MB). These record block sizes were made possible by transactions with numerous segwit inputs created on BitGo with super low fees. (photo credit https://t.co/XYUnX6w6ix) pic.twitter.com/PvGqTcTPwz
— BitGo (@BitGo) January 21, 2018
The culprit is SegWit – the contentious soft fork of Bitcoin that occurred last August. Frustrated by the dogmatic allegiance to hidden code in Bitcoin Core left by Satoshi Nakamoto, developers skirt the 1MB limit by allowing the processing of certain data off-chain, in an additional consensus layer.
Without requiring a fast-tracked eight-week introduction to Computer Science 101, it works like this:
Imagine a block doesn’t just have a size – but aweight. For SegWit to accept a block, all that matters is that the weight of that block is theequivalent of 1MB. How that is calculated is specific to the inner workings of its code. Essentially, SegWit can take the more cumbersome data away from Bitcoin‘s main chain and store it elsewhere – increasing the overall theoretic block size to somewhere around 4MB.
The idea is if bigger blocks are mined, more transactions are confirmed at once, making the network efficient. And as technology gets better and better, computational power will increase allowing foreven bigger blocks.
Bitcoin developer Jimmy Song already explained the processin a blog postfrom last year.
“As part of the consensus rules, every [Legacy] node on the Bitcoin network currently checks that a block is less than 1,000,000 bytes,” Song wrote. “That is, a block that’s greater than 1,000,000 bytes will be rejected by these nodes as a consensus rule.
When [SegWit] transactions are sent to Legacy nodes the witness data is stripped,” he added. “The key is that these ‘stripped’ transactions are still valid transactions on Legacy nodes, which gives us a savings over non-[SegWit] transactions. Thus, more transactions can fit into the block sent to Legacy nodes without going over the 1,000,000 byte limit.”
The key difference here is that while Legacy nodes can never receive blocks larger than 1MB, SegWit nodes have no such limitations. The reason 2MB blocks are popping up more often recently is likely the result of increased SegWit adoption.
Ultimately, a block being mined larger than 1MB is proof that SegWit is functional. And as such blocks are becoming more and more common, it’s a healthy indicator that SegWit is beginning to take off.
Transaction fees are also at a historic low, with a current average of $0.16 – perhaps thanks to the progress of the Lightning Network and, in part, the recent downswing in Bitcoin interest.
It might be a bit too easy to attribute the rise in SegWit adoption to the low fees. There are other factors at play – Bitcoin’s price is much lower now, so there is less transactional demand.
For those looking to keep track of the size of Bitcoin‘s blocks can find live information throughSmartbit.