message: Adjust the difficulty every block if needed, not just after certain period of time
diff: @@ -27,9 +27,6 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
  if (pindexLast == NULL)
  return nProofOfWorkLimit;
  - // Only change once per difficulty adjustment interval
  - if ((pindexLast->nHeight+1) % params.DifficultyAdjustmentInterval() != 0)
  - {
  if (params.fPowAllowMinDifficultyBlocks)
  {
  // Special difficulty rule for testnet:
  @@ -46,14 +43,6 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
  return pindex->nBits;
  }
  }
  - return pindexLast->nBits;
  - }
  -
  - // Go back by what we want to be 14 days worth of blocks
  - int nHeightFirst = pindexLast->nHeight - (params.DifficultyAdjustmentInterval()-1);
  - assert(nHeightFirst >= 0);
  - const CBlockIndex* pindexFirst = pindexLast->GetAncestor(nHeightFirst);
  - assert(pindexFirst);
  return CalculateNextWorkRequired(pindexLast, pindexFirst->GetBlockTime(), params);
  }
  