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.
Declared in <validation.h>
[[requires_capability(0x7fd753c9b108), requires_capability(0x7fd74db5cbd8), requires_capability(0x7fd74ab5ebf8), requires_capability(0x7fd73ea79ab8)]]
CBlockIndex const*
TargetBlock() const;
The target block index, or nullptr if the chainstate targets the most-work block.