What are empty blocks in the first place?
When bitcoin is mined, miners find blocks at approximately 1 block per 10 minutes. Every block that is mined can be filled with transactions up to the limit when the block size is 1 MB in size (this number may change after hard fork). Every transaction most of the time carries a tip for the miners, so the more transactions in a block the more money miner makes. For mining one block, miners are rewarded with all the transaction tips and a 12.5 bitcoin reward.
Image credits
This reward amount decreases every 4 years by 50%.
Empty blocks are the ones that do not contain any transactions in them. The whole point of bitcoin are the transactions that can be send all around the world without bias based and instantaneously.
What interested me the most lately, is the fact that mining pools mine empty blocks very often.
Why would anyone mine empty blocks? Lets dig deeper and find out
When a miner receives a new block before starting to mine the next one he needs to download the previous block, validate the transactions, see which transactions out of the mem pool have been put inside the block, choose the transactions which will be in their block.
This is actually a very short period of time, however sometimes it happens that with insane amount of hashing power you have a chance to find a new block in this period of time. And the reward is so big that it is more economically reasonable to get an empty block reward of 12.5 (now $33,750) then miss this opportunity. This is called opportunity cost.
So some mining pools just put in one transaction in the next block and start mining, the one transaction that goes in every block, coinbase transaction (the one with 12.5 bitcoin reward to the miner).
It happens very rarely but miners do that as not to waste hashing power while they wait. When mining for at least a year this short periods of time become a very big advantage for the ones who use this opportunity.
How many empty blocks are there?
From January 2009 to June 2015 there have been 360,189 of which 85,295 were empty, that is a 23.68%. According to the cart provided by Bitfury pool from April 2015 till September 16 the biggest mining pool Antpool has been a leader in mining empty blocks. The chart also shows that Bitfury has never mined an empty block.
Nevertheless, the number of empty blocks has decreased gradually from April 2016 and is constantly decreasing (you can see this on the chart below). With every new Bitcoin Core upgrade the chances of mining empty blocks decrease. Core Development team are striving to make the process of preparing for the next block as fast as possible.
What is the problem? What are the ways to solve it?
According to Matt Corallo, Bitcoin Core contributor there are three main issues that have lead to empty blocks:
- The time it took for the mining pool to let others know that they have found a block. Especially if it was from China, through Great Firewall and to the other part of the World.
- Downloading the last block from the node that found the previous block
- Time for the miner to figure out which transaction were put in the block, deleting them from memory pool and choosing the ones to put in the next one.
Corallo states that these issues were fixed with Bitcoin Core 0.13, 0.14 updates and implementation of FIBRE. FIBRE is a protocol used to distribute blocks around the bitcoin network with almost no delay. That is why the number of empty blocks is constantly decreasing.
“We're making massive strides in relay in Bitcoin Core in 0.13 [and] 0.14, and were miners to upgrade to some of the last-minute improvements going into 0.14 and use FIBRE, we'd see [empty blocks] once a month purely because the time between when one pool finds a block and when the rest have validated it is so short,” said Corallo.
Conclusion
I consider empty blocks real bad for the Bitcoin economy and if everyone would strive to mine empty blocks in the first place than all of us would be far worse of than if no one did. Bitcoin is all about transaction and the more there are the bigger the price of bitcoin will be. Frankly speaking all crypto depends on bitcoins future. When bitcoin is down all the crypto market is down.
There are some mining pools such as Bitfury, which I started to admire more and more as I was doing research for this article. They are trying to do their best to keep Bitcoin in best possible shape. Bitfury is the only pool I know of which has never mined an empty block. There are others such as Antpool who just don't care even thought they are getting paid in Bitcoin. It is like biting the hand that is feeding you.
I have even found a post on twitter where co-founder stated that they will not stop mining empty blocks:
And Corallo stated that:
“I'm working on decreasing that 500 milliseconds for everyone so even those who do mine empty blocks only do them for shorter periods of time.”
The mining of empty blocks is really a bad idea for Bitcoin. Not only electricity is wasted and polluting emissions from power plants are increasing, so this is not the main thing. The main thing is that the transaction costs are indirectly increased and Bitcoin is not capable of servicing small payments. This is the undermining of Bitcoin's idea!
Let the Bitcoin turn green !!! :-)
Well said @yuriks2000!! But that time in mining not so much profit!!
I agree with you @raghwendra. But if you already have the equipment why not do it. Especially if you mine now at $2700 and sell when it doubles for example.
It is really close to just energy cost at this price. Everyone is hoping for a constant increase, right :)
Yes, that is true now that due to bitcoins dominance in the crypto world, all other cryptos depends on the success of bitcoin. But it is starting to change little by little. It is just a matter of time until bitcoin finally will loose its dominance.
Yes, @discernente this should happen when crypto gains more trust as a whole and then all the smaller ones will have a better chance to grow. Take Steemit for example, it is so undervalued considering it's ability to process transactions for free and to keep a social media platform on top of it at the same time.
But as bitcoin lost value from 3000 to 2300 Steemit also dropped. They are not related, they are on separate blockchains, they have different proff of work algorithms and different mind sets, but when Bitcoin drops so does Steemit. And never the other way round.
I surely hope that it changes soon, so that more crypto has a chance to show itself.
Interesting story to read, I resteem your post.
Thanks @chesatochi for your support. I really did put a lot of thought in it and really tried to explanation as clear as possible why that happens.
Jihan Wu tweeted @ 01 Mar 2016 - 01:22 UTC
Disclaimer: I am just a bot trying to be helpful.
Wow, mining empty blocks is a new one on me, thanks for sharing this info
Great, because I was hoping that more people find out about it