Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 414 Lines • ▼ Show 20 Lines | |||||
* Check whether we are doing an initial block download (synchronizing from disk | * Check whether we are doing an initial block download (synchronizing from disk | ||||
* or network) | * or network) | ||||
*/ | */ | ||||
bool IsInitialBlockDownload(); | bool IsInitialBlockDownload(); | ||||
/** | /** | ||||
* 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 Consensus::Params ¶ms, const TxId &txid, | bool GetTransaction(const TxId &txid, CTransactionRef &txOut, | ||||
CTransactionRef &tx, uint256 &hashBlock, | const Consensus::Params ¶ms, BlockHash &hashBlock, | ||||
bool fAllowSlow = false, CBlockIndex *blockIndex = nullptr); | bool fAllowSlow = false, | ||||
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. | ||||
*/ | */ | ||||
bool ActivateBestChain( | bool ActivateBestChain( | ||||
▲ Show 20 Lines • Show All 310 Lines • Show Last 20 Lines |