diff --git a/src/pow.cpp b/src/pow.cpp --- a/src/pow.cpp +++ b/src/pow.cpp @@ -70,7 +70,7 @@ const CBlockIndex *p2016 = pindexPrev->GetAncestor(nHeight - 2017); int64_t t = pindexPrev->GetBlockTime() - p2016->GetBlockTime(); - // If too fast, increase the target by 1/256. Std deviation over + // If too fast, decrease the target by 1/256. Std deviation over // 2016 blocks is 2.2%. if (t < params.nPowTargetSpacing * 2016 * 95 / 100) { nTarget -= (nTarget >> 8); @@ -84,11 +84,11 @@ int64_t mtp6blocks = pindexPrev->GetMedianTimePast() - pindex6->GetMedianTimePast(); - // If too fast (< 30 mins), increase the target by 1/256. + // If too fast (< 30 mins), decrease the target by 1/256. if (mtp6blocks < params.nPowTargetSpacing * 30 / 10) { nTarget -= (nTarget >> 8); } - // If too slow (> 128 mins), decrease the target by 1/64. + // If too slow (> 128 mins), increase the target by 1/64. else if (mtp6blocks > params.nPowTargetSpacing * 128 / 10) { nTarget += (nTarget >> 6); }