mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-01 00:34:01 +02:00
rpc: Round verificationprogress to exactly 1 for a recent tip
This requires a new lock annotation, but all relevant callers already held the lock.
This commit is contained in:
@@ -1147,7 +1147,7 @@ public:
|
||||
bool IsInitialBlockDownload() const;
|
||||
|
||||
/** Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). */
|
||||
double GuessVerificationProgress(const CBlockIndex* pindex) const;
|
||||
double GuessVerificationProgress(const CBlockIndex* pindex) const EXCLUSIVE_LOCKS_REQUIRED(GetMutex());
|
||||
|
||||
/**
|
||||
* Import blocks from an external file
|
||||
|
||||
Reference in New Issue
Block a user