I am very much curious to know how difficulty is related to the mining process and how the static difficulty will effect the mining process ?
1 Answer
Difficulty is proportional to hash power. The Ethash algorithm increases difficulty by increasing it if the last blocks have been found in shorter time than usual and decreases it if it was found in lower time. So that in average a ~14s blocktime is achieved. A static difficulty would decrease the average blocktime as more miners join. Eventually the mining time would be under the propagation of transactions in the network and only empty blocks would be mined. Therefore the difficulty adjustment is motivated to give transactions some time to be broadcasted to the network.
-
can you give and algorithm of geth is using or ethereum using so that i can change it. Jan 20, 2017 at 12:41
-
2Here's the difficulty algorithm - ethereum.stackexchange.com/questions/5913/… . And here's how you can change it - ethereum.stackexchange.com/questions/2539/… . Jan 20, 2017 at 12:44