|
|
@ -2058,7 +2058,8 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin |
|
|
|
} |
|
|
|
|
|
|
|
bool fScriptChecks = (!fCheckpointsEnabled || pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate(chainparams.Checkpoints())); |
|
|
|
|
|
|
|
if ( pindex->nHeight > 40000 ) // "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) { |
|
|
|