Set target block for this chainstate using just a block hash. Useful when the block database has not been loaded yet.

Synopsis

Declared in <validation.h>

[[requires_capability(0x7ff37b9019c8), requires_capability(0x7ff375c485d8), requires_capability(0x7ff37e053448), requires_capability(0x7ff3759343a8)]]
void
SetTargetBlockHash(uint256 block_hash);

Parameters

Name

Description

block_hash

Hash of the target block.

Created with MrDocs