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(0x7f9513ab4108), requires_capability(0x7f9502c97178), requires_capability(0x7f9525448ea8), requires_capability(0x7f95173ff188)]]
void
SetTargetBlockHash(uint256 block_hash);

Parameters

Name

Description

block_hash

Hash of the target block.

Created with MrDocs