Chainstate::m_target_blockhash

Target block for this chainstate. If this is not set, chainstate will target the most-work, valid block. If this is set, ChainstateManager considers this a "historical" chainstate since it will only contain old blocks up to the target block, not newer blocks.

Synopsis

Declared in <validation.h>

[[guarded_by(0x7f2e1ba83988), guarded_by(0x7f2e145635d8), guarded_by(0x7f2e373bc788), guarded_by(0x7f2e36e333d8)]]
std::optional<uint256> m_target_blockhash;