3

The background of this question is wether the distribution of the block generation does matter? Lets say we have a period of 12 weeks. If the number of blocks created in this time is 6*2016 then the difficulty should not change. If the number of blocks is (6*2016)*1,1 (10% more) the difficulty what have risen 6 times by 10%. This both statements should be true if the generation of the blocks is (more or less) equally distributed over the time.

I wonder now if this is true for different distributions.

I know there are this limits in difficulty adjustment (4 and 1/4) but if they are not reached it should be possible?

2

As you indicated in your comment, the distribution does matter and you can't average over a long period. So you would have to know:

  • The starting difficulty and which height it's provided for.
  • The time for each subsequent block that falls on a height divisible by 2016
  • The current height or target height at which you want to calculate the new difficulty.

Also note that difficulty adjustments every 2016 blocks are capped, so the new difficulty can be 4x higher or lower than the previous.

2

You should know the current difficulty to adjust the next value. It can not be found only by number of blocks for past 3 monthes

  • ok - sure - I will edit my question. Of course you need to know the starting difficulty - but then the question is still open. My latest thought is: the answer is no. If the difficulty increases it increases more if the blocks are distributed evenly - thus the distribution does matter. – user599464 Jul 3 '14 at 19:32

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.