Do the leading zeros in the desired hash pattern for mining change?

2

If I understood it well, miners collect transactions in temporary files on which they apply a cryptographic function. The result will be reviewed against a desired pattern.

Does this "desired pattern" always have the same leading zeros? Or does that change now and then?
If it changes now and then, what triggers this?

mvanderbilt

Posted 2016-02-01T12:54:38.463

Reputation: 125

1

possible duplicate of How is difficulty calculated?

– Murch – 2016-02-01T14:43:11.323

Answers

2

Q: does this "desired pattern" always have the same leading zeros?

No.

Or does that change now and then?

It changes every ~14 days (2016 blocks). The change depends on the hashing power of the bitcoin network at that moment. The new required hash needs to have that many leading zeros so that it takes ~10 minutes to find that hash.

Q: If it changes now and then, what triggers this?

An algorithm triggers it. It's built into the bitcoin protocol. Every 2016 blocks the difficulty of finding a new block is recalculated.

karask

Posted 2016-02-01T12:54:38.463

Reputation: 2 154

OK, so the change of the desired pattern is directly linked with the mining difficulty? – mvanderbilt – 2016-02-01T13:25:38.997

Yes. See here and more specifically here for details.

– karask – 2016-02-01T15:19:22.457