Revert "disable 100000"

This reverts commit d03fbd981f.
This commit is contained in:
jl777
2017-01-03 14:57:13 +02:00
parent d03fbd981f
commit b039abf96c

View File

@@ -550,6 +550,7 @@ CBlockTreeDB *pblocktree = NULL;
// Komodo globals
#define KOMODO_TESTNET_EXPIRATION 100000
#define KOMODO_PAX
#define KOMODO_ZCASH
#include "komodo.h"
@@ -2154,8 +2155,8 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
}
bool fScriptChecks = (!fCheckpointsEnabled || pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate(chainparams.Checkpoints()));
//if ( KOMODO_TESTNET_EXPIRATION != 0 && pindex->nHeight > KOMODO_TESTNET_EXPIRATION ) // "testnet"
// return(false);
if ( KOMODO_TESTNET_EXPIRATION != 0 && pindex->nHeight > KOMODO_TESTNET_EXPIRATION ) // "testnet"
return(false);
// Do not allow blocks that contain transactions which 'overwrite' older transactions,
// unless those are already completely spent.
BOOST_FOREACH(const CTransaction& tx, block.vtx) {