10

I seem to recall, long ago, being told that difficulty couldn't change more than a certain amount at each retarget, but I can't seem to find what that factor is (or even confirmation that such a factor exists) no matter how hard I google. Does such a factor exist and if so what is its value?

11

The difficulty never changes by more than a factor of 4 (except for in a special case that only applies on testnet).

The code that enforces this is here.

8

Well doesn't that figure, the moment I ask the question my google-fu kicks in.

This wiki article states:

A single retarget never changes the target by more than a factor of 4 either way to prevent large changes in difficulty.

  • Ah, gotta love moments like this! ;) – ThePiachu Jun 23 '12 at 0:08
  • Yeah, I seriously think there's something about the act of phrasing a question for SE that activates some hidden bit of gray matter and creates superior search terms. It's not so annoying when it's an hour later, this one was mere seconds :P – David Perry Jun 23 '12 at 0:13
  • 1
    Well, it's still a good question and a good answer. – ThePiachu Jun 23 '12 at 0:27
  • Interesting that the article would consider a change from the currently difficult of 1,726,567 to either 5,000,000 or 500,000 as not being a large change... I guess it's considering it from a logarithmic perspective? – Highly Irregular Jun 23 '12 at 1:03

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.