I'm trying to get my head around the difficulty setting of Bitcoin. How can I calculate how many zeros the target string needs to start with?


2 Answers 2


17 judging by the latest blocks published on blockchain.info: https://blockchain.info/block/0000000000000000057fcc708cf0130d95e27c5819203e9f967ac56e4df598ee


Clarifying: difficulty is a more human-friendly representation of the target. Tha target itself is not specified in terms of the amount of zeroes. This seemed to be the case with hashcash.

The more precise definition of the target is a maximum accepted number for the produced block hash. In this sense a certain hash with a certain number of leading zeroes may be accepted and another hash with the same amount of leading zeroes may not be accepted.

  • Hi Jonathas, we see that the amount is growing, so, who (authority or Bitcoin-rule) define the amount? Nov 18, 2017 at 12:43
  • Hum... See current difficulty and target concept, this is the reference for number of zeros (!). Nov 18, 2017 at 13:56

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