mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-30 18:35:54 +02:00
refactor: Move GuessVerificationProgress into ChainstateManager
This commit is contained in:
@@ -95,9 +95,6 @@ CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams);
|
||||
|
||||
bool FatalError(kernel::Notifications& notifications, BlockValidationState& state, const bilingual_str& message);
|
||||
|
||||
/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). */
|
||||
double GuessVerificationProgress(const ChainTxData& data, const CBlockIndex* pindex);
|
||||
|
||||
/** Prune block files up to a given height */
|
||||
void PruneBlockFilesManual(Chainstate& active_chainstate, int nManualPruneHeight);
|
||||
|
||||
@@ -1151,6 +1148,9 @@ public:
|
||||
/** Check whether we are doing an initial block download (synchronizing from disk or network) */
|
||||
bool IsInitialBlockDownload() const;
|
||||
|
||||
/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). */
|
||||
double GuessVerificationProgress(const CBlockIndex* pindex) const;
|
||||
|
||||
/**
|
||||
* Import blocks from an external file
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user