Skip to content

Commit

Permalink
stop kimoto
Browse files Browse the repository at this point in the history
  • Loading branch information
qubitcoin committed Feb 22, 2014
1 parent 8fdd6d8 commit 3d95ba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Expand Up @@ -1293,9 +1293,9 @@ unsigned int static GetNextWorkRequired(const CBlockIndex* pindexLast, const CBl
if (fTestNet) {
if (pindexLast->nHeight+1 >= 10) { DiffMode = 2; }
}
else {
if (pindexLast->nHeight+1 >= 120960) { DiffMode = 2; } // After x2 change diff algo to Kimoto
}
//else {
// if (pindexLast->nHeight+1 >= 120960) { DiffMode = 2; } // After x2 change diff algo to Kimoto
//}

if (DiffMode == 1) { return GetNextWorkRequired_V1(pindexLast, pblock); }
else if (DiffMode == 2) { return GetNextWorkRequired_V2(pindexLast, pblock); }
Expand Down

0 comments on commit 3d95ba0

Please sign in to comment.