From 3a3356a4be445da3daf7ebd0eccccdf3e26ae82f Mon Sep 17 00:00:00 2001 From: Michael Toutonghi Date: Tue, 28 May 2019 18:41:50 -0700 Subject: [PATCH] Back to VRSC checking rulles on check block --- src/main.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 3b4a66a4f..00058eed8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4731,8 +4731,6 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C // we need this lock to prevent accepting transactions we shouldn't LOCK2(cs_main, mempool.cs); - bool vrscCompat = CConstVerusSolutionVector::activationHeight.ActiveVersion(height) < CConstVerusSolutionVector::activationHeight.SOLUTION_VERUSV3; - //printf("checking block %d\n", height); while ( 1 ) { @@ -4807,10 +4805,6 @@ bool CheckBlock(int32_t *futureblockp,int32_t height,CBlockIndex *pindex,const C if ( lastrejects != 0 ) { LogPrintf("lastrejects.%d -> all tx in mempool\n", lastrejects); - if (!vrscCompat) - { - success = state.DoS(0, error("CheckBlock: invalid transactions in block"), REJECT_INVALID, "bad-txns-duplicate"); - } } break; }