[#Chainstate-SetTargetBlockHash] = xref:Chainstate.adoc[Chainstate]::SetTargetBlockHash :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1ba83d78), requires_capability(0x7f2e145639c8), requires_capability(0x7f2e373bcb78), requires_capability(0x7f2e36e337c8)]] void SetTargetBlockHash(xref:uint256.adoc[uint256] block_hash); ---- == Parameters [cols="1,4"] |=== | Name| Description | *block_hash* | Hash of the target block. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#