|
|
@ -1809,8 +1809,9 @@ bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransa |
|
|
|
return error("AcceptToMemoryPool: CheckTransaction failed"); |
|
|
|
} |
|
|
|
// DoS level set to 10 to be more forgiving.
|
|
|
|
|
|
|
|
// Check transaction contextually against the set of consensus rules which apply in the next block to be mined.
|
|
|
|
if (!fSkipExpiry && !ContextualCheckTransaction(0,0,0,tx, state, nextBlockHeight, (dosLevel == -1) ? 10 : dosLevel,0)) |
|
|
|
if (!fSkipExpiry && !ContextualCheckTransaction(0,0,0,tx, state, nextBlockHeight, (dosLevel == -1) ? 10 : dosLevel)) |
|
|
|
{ |
|
|
|
return error("AcceptToMemoryPool: ContextualCheckTransaction failed"); |
|
|
|
} |
|
|
|