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

Name

Description

block_index

Block index entry of the block whose script flags are computed.

chainman

The chainstate manager providing deployment status.

Created with MrDocs