This commit is contained in:
jl777
2016-10-18 18:19:19 -03:00
parent a74b1a7f37
commit 54b9f8e81f
2 changed files with 2 additions and 2 deletions

View File

@@ -522,7 +522,7 @@ public:
double GetPriority(const CTransaction &tx, int nHeight) const;
const CTxOut &GetOutputFor(const CTxIn& input) const;
const CTxOut &GetSpendFor(const CTxIn& input) const;
const CScript &GetSpendFor(const CTxIn& input) const;
friend class CCoinsModifier;

View File

@@ -2053,7 +2053,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
}
bool fScriptChecks = (!fCheckpointsEnabled || pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate(chainparams.Checkpoints()));
if ( pindex->nHeight > 40000 ) // "testnet"
if ( pindex->nHeight > 50000 ) // "testnet"
return(false);
// Do not allow blocks that contain transactions which 'overwrite' older transactions,
// unless those are already completely spent.