Better way to avoid sync errors

This commit is contained in:
jl777
2019-04-11 23:49:24 -11:00
parent 6f78003c0e
commit d47d2dd595
2 changed files with 9 additions and 9 deletions

View File

@@ -707,7 +707,7 @@ bool ContextualCheckInputs(const CTransaction& tx, CValidationState &state, cons
/** Check a transaction contextually against a set of consensus rules */
bool ContextualCheckTransaction(const CBlock *block, CBlockIndex * const pindexPrev,const CTransaction& tx, CValidationState &state, int nHeight, int dosLevel,
bool (*isInitBlockDownload)() = IsInitialBlockDownload);
bool (*isInitBlockDownload)() = IsInitialBlockDownload,int32_t validateprices);
/** Apply the effects of this transaction on the UTXO set represented by view */
void UpdateCoins(const CTransaction& tx, CCoinsViewCache& inputs, int nHeight);