Why ethereum has introduce difficulty and what is the use of difficulty in blockchain? I have seen that we can use static difficulty for blockchain . So why we not use static difficulty for public blockchain.
Asked
Active
Viewed 239 times
3
-
Possible duplicate of What is the "difficulty bomb" and what is the goal of it? – Richard Horrocks Dec 05 '16 at 13:45
-
On second thoughts, this is more a question of why blockchains in general use variable difficulty. – Richard Horrocks Dec 05 '16 at 13:50
-
Basically this: https://bitcoin.stackexchange.com/questions/40411/can-a-smart-mind-explain-block-difficulty-calculation-in-lay-terms – Richard Horrocks Dec 05 '16 at 14:05
1 Answers
2
The difficulty varies in order to keep a constant block time.
Blocks are targeted to be 15 seconds apart. Suppose the difficulty was static--that is, the current network hashrate (5.5 TH/s) would result in a block being found every 15 seconds. Then suppose the hashrate rapidly changed (mining got more popular, more efficient, less popular, etc.) The block time would change! There are many bad effects of this, from overinflation to network instability. The simplest way is to adjust the difficulty so that the blocktime remains the same.
Matthew Schmidt
- 7,290
- 1
- 24
- 35
-
-
1By adjusting the difficulty, the time between blocks remains the same. That's the short version. – Matthew Schmidt Dec 07 '16 at 15:13