pWhat is bitcoin difficulty? Whats up, party people? Chris DeRose here, Community Director of the Counterparty Foundation.
Todays question that Id like to answer is, What is Bitcoin difficulty or what is the Bitcoin difficulty? So as you may or may not know, Bitcoin is mined by miners. They perform a number of calculations that are fairly intense calculations.
Its called a doubleSHA256 calculation. That itself is a whole another article. But in doing these calculations, we need to keep the network at a certain level of equilibrium amongst the miners.
An equilibrium, in the sense that the network needs to be calibrated to accommodate the size of all the people that are contributing. This calibration is in the form of the difficulty, the difficulty of the calculation. The difficulty is calculated every 2, 016 blocks, which is roughly two weeks.
And every two weeks, a recalibration is done of the network. The calibration is based off of the amount of time it takes, per block, to mine that block in the prior two weeks. Based on what that average is, if its too high, meaning its taking longer than 10 minutes.
Or if its too low, meaning its taking less than in 10 minutes per block, that difficulty gets adjusted. The difficulty, itself, is a number. It reflects the precision on the hash.
So when a hash is computed its, roughly speaking, an attestation of the amount of work that went into producing the block. It is a calculation that requires that a certain amount of these doubleSHA calculations be done in order to prove the block. Roughly speaking, and theres a little bit to this but the difficulty is almost as simple as how many zeroes there are, in terms of precision, before you get to the numbers that we validate.
Im paraphrasing here, but if theres a high difficulty level, we need to be within, lets say, 0.0000001 accuracy on this calculation. Or if theres a low difficulty, maybe 0.1 difficulty.
Over time, the difficulty is grown at an exponential rate. This was something that was purely designed in the system. Satoshi knew that Moores law, which is a very common law in computer science, has to do with transistor density that shifts are fabricated. That law dictates the speed at which networks increase. And, because of that, it is at an exponential rate that our computer chips get faster.
And because of that, the difficulty itself is reflected that Moores law efficiency. Thats really how it was designed. Its a really cool feature of the Bitcoin network.
And when I first read it, my mind was blown because it was never something that you saw used in an economic capacity. It was really smart. So, Satoshi, if youre watching this, I think thats one of the many genius things that youve done. Very impressive. But yeah, thats what difficulty is.
Thats what difficulty provides for the Bitcoin network. And it is a throttle of sorts on the rate at which we can produce blocks. So if you have other questions, feel free to ask me. You can tweet me derosetech.
You can email me at chrischrisderose.com. And, if you like this article, subscribe to the channel. Peace out, party people.p