ChainstateManager::GetBackgroundVerificationProgress

Guess background verification progress in case assume-utxo was used (as a fraction between 0.0=genesis and 1.0=snapshot blocks).

Synopsis

Declared in <validation.h>

[[requires_capability(0x7fb95fbcb1d8), requires_capability(0x7fb96adf41a8), requires_capability(0x7fb96eb27328), requires_capability(0x7fb987168ab8)]]
double
GetBackgroundVerificationProgress(CBlockIndex const& pindex) const;

Return Value

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

Parameters

NameDescription
pindexBlock index entry to estimate background progress up to.