CreateNewBlock performance improvements

This commit is contained in:
Pieter Wuille
2013-05-21 02:36:48 +02:00
parent 3702f127fd
commit 2ec349bc42
2 changed files with 10 additions and 20 deletions

View File

@@ -659,7 +659,7 @@ public:
std::vector<CScriptCheck> *pvChecks = NULL) const;
// Apply the effects of this transaction on the UTXO set represented by view
bool UpdateCoins(CValidationState &state, CCoinsViewCache &view, CTxUndo &txundo, int nHeight, const uint256 &txhash) const;
void UpdateCoins(CValidationState &state, CCoinsViewCache &view, CTxUndo &txundo, int nHeight, const uint256 &txhash) const;
// Context-independent validity checks
bool CheckTransaction(CValidationState &state) const;