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?

Murch
  • 75,206
  • 34
  • 186
  • 622
mvanderbilt
  • 125
  • 11

1 Answers1

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.

morsecoder
  • 14,168
  • 2
  • 42
  • 94
karask
  • 2,540
  • 1
  • 10
  • 20