Guess verification progress (as a fraction between 0.0=genesis and 1.0=current tip). This is also the case in the assumeutxo context, meaning that the progress reported for the snapshot chainstate may suggest that all historical blocks have already been verified even though that may not actually be the case.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7f2e1bc17748), requires_capability(0x7f2e146b5a98), requires_capability(0x7f2e298fae68), requires_capability(0x7f2e360b85c8)]]
double
GuessVerificationProgress(CBlockIndex const* pindex) const;

Return Value

The estimated verification progress as a fraction between 0.0 and 1.0.

Parameters

Name

Description

pindex

Block index entry to estimate progress up to.

Created with MrDocs