Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 455 Lines • ▼ Show 20 Lines | |||||
* execution cache hits) are, obviously, not pushed onto pvChecks/run. | * execution cache hits) are, obviously, not pushed onto pvChecks/run. | ||||
* | * | ||||
* Setting sigCacheStore/scriptCacheStore to false will remove elements from the | * Setting sigCacheStore/scriptCacheStore to false will remove elements from the | ||||
* corresponding cache which are matched. This is useful for checking blocks | * corresponding cache which are matched. This is useful for checking blocks | ||||
* where we will likely never need the cache entry again. | * where we will likely never need the cache entry again. | ||||
*/ | */ | ||||
bool CheckInputs(const CTransaction &tx, CValidationState &state, | bool CheckInputs(const CTransaction &tx, CValidationState &state, | ||||
const CCoinsViewCache &view, bool fScriptChecks, | const CCoinsViewCache &view, bool fScriptChecks, | ||||
uint32_t flags, bool sigCacheStore, bool scriptCacheStore, | const uint32_t flags, bool sigCacheStore, | ||||
bool scriptCacheStore, | |||||
const PrecomputedTransactionData &txdata, | const PrecomputedTransactionData &txdata, | ||||
std::vector<CScriptCheck> *pvChecks = nullptr); | std::vector<CScriptCheck> *pvChecks = nullptr); | ||||
/** Apply the effects of this transaction on the UTXO set represented by view */ | /** Apply the effects of this transaction on the UTXO set represented by view */ | ||||
void UpdateCoins(const CTransaction &tx, CCoinsViewCache &inputs, int nHeight); | void UpdateCoins(const CTransaction &tx, CCoinsViewCache &inputs, int nHeight); | ||||
void UpdateCoins(const CTransaction &tx, CCoinsViewCache &inputs, | void UpdateCoins(const CTransaction &tx, CCoinsViewCache &inputs, | ||||
CTxUndo &txundo, int nHeight); | CTxUndo &txundo, int nHeight); | ||||
▲ Show 20 Lines • Show All 234 Lines • Show Last 20 Lines |