3

I know that the Bitcoin difficulty is recomputed every 2016 blocks (about two weeks).

But who is responsible for this job and how is the new value announced to all miners. Does every miners do the computation or is there a specific entity of the network do it?

1

1 Answer 1

5

All nodes and all clients have this logic hardcoded into them. So in that sense, everybody is responsible for understanding that every 2016 blocks the difficulty changes.

The calculation that is hardcoded into each client is described here: https://en.bitcoin.it/wiki/Difficulty#What_is_the_formula_for_difficulty.3F

So it's not a piece of information that is announced or broadcast. Since each node knows about every block that appears in the network, it can calculate on its own the difficulty, without the need of a third-party.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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