Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 383 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(); | ||||
/** | /** | ||||
* Format a string that describes several potential problems detected by the | |||||
* core. | |||||
* strFor can have three values: | |||||
* - "rpc": get critical warnings, which should put the client in safe mode if | |||||
* non-empty | |||||
* - "statusbar": get all warnings | |||||
* - "gui": get all warnings, translated (where possible) for GUI | |||||
* This function only returns the highest priority warning of the set selected | |||||
* by 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); | ||||
/** | /** | ||||
* 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. | ||||
▲ Show 20 Lines • Show All 312 Lines • Show Last 20 Lines |