[#MANDATORY_SCRIPT_VERIFY_FLAGS]
= MANDATORY&lowbar;SCRIPT&lowbar;VERIFY&lowbar;FLAGS
:mrdocs:

Mandatory script verification flags that all new transactions must comply with for them to be valid&period;

== Synopsis

Declared in `&lt;policy&sol;policy&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
inline constexpr xref:script_verify_flags.adoc[script&lowbar;verify&lowbar;flags] MANDATORY&lowbar;SCRIPT&lowbar;VERIFY&lowbar;FLAGS = &lcub;SCRIPT&lowbar;VERIFY&lowbar;P2SH &verbar;
                                                             SCRIPT&lowbar;VERIFY&lowbar;DERSIG &verbar;
                                                             SCRIPT&lowbar;VERIFY&lowbar;NULLDUMMY &verbar;
                                                             SCRIPT&lowbar;VERIFY&lowbar;CHECKLOCKTIMEVERIFY &verbar;
                                                             SCRIPT&lowbar;VERIFY&lowbar;CHECKSEQUENCEVERIFY &verbar;
                                                             SCRIPT&lowbar;VERIFY&lowbar;WITNESS &verbar;
                                                             SCRIPT&lowbar;VERIFY&lowbar;TAPROOT&rcub;;
----

== Description

Note that this does not affect consensus validity&semi; see GetBlockScriptFlags() for that&period;


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