From: CryptoManiac Date: Tue, 22 Jul 2014 19:37:38 +0000 (+0400) Subject: Use STRICT_FLAGS for signatures validation X-Git-Tag: v0.4.4.6-nvc-update5^2 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=4e7a581277593a79c4771d8babf08becc985f71a Use STRICT_FLAGS for signatures validation since 20 Sep 2014. --- diff --git a/src/main.cpp b/src/main.cpp index 14e7ce3..64da4da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -726,7 +726,7 @@ bool CTxMemPool::accept(CTxDB& txdb, CTransaction &tx, bool fCheckInputs, // Check against previous transactions // This is done last to help prevent CPU exhaustion denial-of-service attacks. - if (!tx.ConnectInputs(txdb, mapInputs, mapUnused, CDiskTxPos(1,1,1), pindexBest, false, false, true, VALIDATION_SWITCH_TIME < tx.nTime ? STRICT_FLAGS : SOFT_FLAGS)) + if (!tx.ConnectInputs(txdb, mapInputs, mapUnused, CDiskTxPos(1,1,1), pindexBest, false, false, true, SIG_SWITCH_TIME < tx.nTime ? STRICT_FLAGS : SOFT_FLAGS)) { return error("CTxMemPool::accept() : ConnectInputs failed %s", hash.ToString().substr(0,10).c_str()); }