Revert "increase consecutive-same-algo limit to 6 blocks"

This reverts commit 59ccce6a1f.
This commit is contained in:
nzsquirrell
2015-08-23 19:34:02 +12:00
parent 4154954077
commit a37536e980
2 changed files with 0 additions and 7 deletions
-5
View File
@@ -2702,11 +2702,6 @@ bool AcceptBlock(CBlock& block, CValidationState& state, CDiskBlockPos* dbp)
nAlgoCount++;
piPrev = piPrev->pprev;
}
if ((nHeight > nBlockSequentialAlgoRuleStart3) && (nAlgoCount > nBlockSequentialAlgoMaxCount3))
{
return state.DoS(100, error("AcceptBlock() : too many blocks from same algo"),
REJECT_INVALID, "algo-toomany");
} else
if ((nHeight > nBlockSequentialAlgoRuleStart2) && (nAlgoCount > nBlockSequentialAlgoMaxCount2))
{
return state.DoS(100, error("AcceptBlock() : too many blocks from same algo"),