Set target block for this chainstate. If null, chainstate will target the most‐work valid block. If non‐null chainstate will be a historic chainstate and target the specified block.
Synopsis
Declared in <validation.h>
[[requires_capability(0x7f9513ab4038), requires_capability(0x7f9502c970a8), requires_capability(0x7f9525448dd8), requires_capability(0x7f95173ff0b8)]]
void
SetTargetBlock(CBlockIndex* block);
Parameters
Name |
Description |
block |
The target block, or nullptr to target the most‐work valid block. |
Created with MrDocs