About how the bitcoin network changes the difficulty of mining

-1

As far as I currently know, the difficulty is changed every 2016 blocks.But as for the number 2016, I have a few questions. Does it mean the blocks generated in whole network or just the 2015 blocks generated in the same chain before it?Or, in other words, when difficulty changes, does it only affect one chain(maybe main chain or side chain) or the whole network.

Tricky_Hunter

Posted 2016-11-19T07:33:08.963

Reputation: 3

Answers

0

Or, in other words, when difficulty changes, does it only affect one chain(maybe main chain or side chain) or the whole network.

Difficulty adjustments are calculated from the timestamps of the blocks in the chain. Two different chains may have different difficulty adjustments.

However, since the network will eventually agree on the chain tip, it will also agree on the difficulty.

Nick ODell

Posted 2016-11-19T07:33:08.963

Reputation: 26 536