[#GetBlockScriptFlags]
= GetBlockScriptFlags
:mrdocs:

Return the script flags which should be checked for a given block&period;

== Synopsis

Declared in `&lt;validation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags]
GetBlockScriptFlags(
    xref:CBlockIndex.adoc[CBlockIndex] const& block&lowbar;index,
    xref:ChainstateManager.adoc[ChainstateManager] const& chainman);
----

== Return Value

The script verification flags to apply to the block&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;index*
| Block index entry of the block whose script flags are computed&period;
| *chainman*
| The chainstate manager providing deployment status&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
