Browse Source

test

metaverse
jl777 8 years ago
parent
commit
fd55cc9c72
  1. 3
      src/main.cpp

3
src/main.cpp

@ -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) {

Loading…
Cancel
Save