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(0x7fbc8fb659e8), requires_capability(0x7fbc96bfe058), requires_capability(0x7fbcaf5d5468), requires_capability(0x7fbc9e0dbc38)]]
void
SetTargetBlockHash(uint256 block_hash);

Parameters

Name

Description

block_hash

Hash of the target block.

Created with MrDocs