Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 375 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
void ThreadScriptCheck(int worker_num); | void ThreadScriptCheck(int worker_num); | ||||
/** | /** | ||||
* Retrieve a transaction (from memory pool, or from disk, if possible). | * Retrieve a transaction (from memory pool, or from disk, if possible). | ||||
*/ | */ | ||||
bool GetTransaction(const TxId &txid, CTransactionRef &txOut, | bool GetTransaction(const TxId &txid, CTransactionRef &txOut, | ||||
const Consensus::Params ¶ms, BlockHash &hashBlock, | const Consensus::Params ¶ms, BlockHash &hashBlock, | ||||
bool fAllowSlow = false, | |||||
const CBlockIndex *const blockIndex = nullptr); | const CBlockIndex *const blockIndex = nullptr); | ||||
/** | /** | ||||
* Find the best known block, and make it the tip of the block chain | * Find the best known block, and make it the tip of the block chain | ||||
* | * | ||||
* May not be called with cs_main held. May not be called in a | * May not be called with cs_main held. May not be called in a | ||||
* validationinterface callback. | * validationinterface callback. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 617 Lines • Show Last 20 Lines |