Return target block which chainstate tip is expected to reach, if this is a historic chainstate being used to validate a snapshot, or null if chainstate targets the most‐work block.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7ff37b901828), requires_capability(0x7ff375c48438), requires_capability(0x7ff37e0532a8), requires_capability(0x7ff375934208)]]
CBlockIndex const*
TargetBlock() const;
Return Value
The target block index, or nullptr if the chainstate targets the most‐work block.
Created with MrDocs