-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.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.