GetBlockScriptFlags

Return the script flags which should be checked for a given block.

Synopsis

Declared in <validation.h>

script_verify_flags
GetBlockScriptFlags(
    CBlockIndex const& block_index,
    ChainstateManager const& chainman);

Return Value

The script verification flags to apply to the block.

Parameters

NameDescription
block_indexBlock index entry of the block whose script flags are computed.
chainmanThe chainstate manager providing deployment status.