Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | |||||
* by strFor. | * by strFor. | ||||
*/ | */ | ||||
std::string GetWarnings(const std::string &strFor); | std::string GetWarnings(const std::string &strFor); | ||||
/** | /** | ||||
* 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 Config &config, const TxId &txid, CTransactionRef &tx, | bool GetTransaction(const Config &config, const TxId &txid, CTransactionRef &tx, | ||||
uint256 &hashBlock, bool fAllowSlow = false); | uint256 &hashBlock, bool fAllowSlow = false, | ||||
CBlockIndex *blockIndex = nullptr); | |||||
/** | /** | ||||
* Find the best known block, and make it the active tip of the block chain. | * Find the best known block, and make it the active tip of the block chain. | ||||
* If it fails, the tip is not updated. | * If it fails, the tip is not updated. | ||||
* | * | ||||
* pblock is either nullptr or a pointer to a block that is already loaded | * pblock is either nullptr or a pointer to a block that is already loaded | ||||
* in memory (to avoid loading it from disk again). | * in memory (to avoid loading it from disk again). | ||||
* | * | ||||
▲ Show 20 Lines • Show All 355 Lines • Show Last 20 Lines |