Skip to content

Commit

Permalink
disable 100000
Browse files Browse the repository at this point in the history
  • Loading branch information
jl777 committed Dec 5, 2016
1 parent b0ab045 commit d03fbd9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@ CBlockTreeDB *pblocktree = NULL;

// Komodo globals

#define KOMODO_TESTNET_EXPIRATION 100000
#define KOMODO_PAX
#define KOMODO_ZCASH
#include "komodo.h"
Expand Down Expand Up @@ -2155,8 +2154,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) {
Expand Down

0 comments on commit d03fbd9

Please sign in to comment.