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(0x7fbc8fb655f8), guarded_by(0x7fbc96bfdc68), guarded_by(0x7fbcaf5d5078), guarded_by(0x7fbc9e0db848)]]
std::optional<uint256> m_target_blockhash;