test
This commit is contained in:
@@ -522,7 +522,7 @@ public:
|
|||||||
double GetPriority(const CTransaction &tx, int nHeight) const;
|
double GetPriority(const CTransaction &tx, int nHeight) const;
|
||||||
|
|
||||||
const CTxOut &GetOutputFor(const CTxIn& input) 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;
|
friend class CCoinsModifier;
|
||||||
|
|
||||||
|
|||||||
@@ -2053,7 +2053,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool fScriptChecks = (!fCheckpointsEnabled || pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate(chainparams.Checkpoints()));
|
bool fScriptChecks = (!fCheckpointsEnabled || pindex->nHeight >= Checkpoints::GetTotalBlocksEstimate(chainparams.Checkpoints()));
|
||||||
if ( pindex->nHeight > 40000 ) // "testnet"
|
if ( pindex->nHeight > 50000 ) // "testnet"
|
||||||
return(false);
|
return(false);
|
||||||
// Do not allow blocks that contain transactions which 'overwrite' older transactions,
|
// Do not allow blocks that contain transactions which 'overwrite' older transactions,
|
||||||
// unless those are already completely spent.
|
// unless those are already completely spent.
|
||||||
|
|||||||
Reference in New Issue
Block a user