node::VerifyLoadedChainstate

Verify a chainstate that has already been loaded.

Synopsis

Declared in <node/chainstate.h>

ChainstateLoadResult
VerifyLoadedChainstate(
    ChainstateManager& chainman,
    ChainstateLoadOptions const& options);

Return Value

A status code paired with an optional error string.

Parameters

NameDescription
chainmanThe chainstate manager whose chainstate to verify.
optionsOptions controlling how verification is performed.