Chainstate::SetTargetBlockHash

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>

void
SetTargetBlockHash(uint256 block_hash);

Parameters

NameDescription
block_hashHash of the target block.