Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 511 Lines • ▼ Show 20 Lines | |||||
bool CheckInputs(const CTransaction &tx, CValidationState &state, | bool CheckInputs(const CTransaction &tx, CValidationState &state, | ||||
const CCoinsViewCache &view, bool fScriptChecks, | const CCoinsViewCache &view, bool fScriptChecks, | ||||
const uint32_t flags, bool sigCacheStore, | const uint32_t flags, bool sigCacheStore, | ||||
bool scriptCacheStore, | 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(CCoinsViewCache &view, const CTransaction &tx, int nHeight); | ||||
void UpdateCoins(const CTransaction &tx, CCoinsViewCache &inputs, | void UpdateCoins(CCoinsViewCache &view, const CTransaction &tx, CTxUndo &txundo, | ||||
CTxUndo &txundo, int nHeight); | int nHeight); | ||||
/** Transaction validation functions */ | /** Transaction validation functions */ | ||||
/** Context-independent validity checks for coinbase and non-coinbase | /** Context-independent validity checks for coinbase and non-coinbase | ||||
* transactions */ | * transactions */ | ||||
bool CheckRegularTransaction(const CTransaction &tx, CValidationState &state, | bool CheckRegularTransaction(const CTransaction &tx, CValidationState &state, | ||||
bool fCheckDuplicateInputs = true); | bool fCheckDuplicateInputs = true); | ||||
bool CheckCoinbase(const CTransaction &tx, CValidationState &state, | bool CheckCoinbase(const CTransaction &tx, CValidationState &state, | ||||
▲ Show 20 Lines • Show All 228 Lines • Show Last 20 Lines |