ScriptExecutionData

Mutable per-input state carried through Taproot/Tapscript execution.

Synopsis

Declared in <script/interpreter.h>

struct ScriptExecutionData;

Data Members

NameDescription
m_annex_hash Hash of the annex data.
m_annex_init Whether m_annex_present and (when needed) m_annex_hash are initialized.
m_annex_present Whether an annex is present.
m_codeseparator_pos Opcode position of the last executed OP_CODESEPARATOR (or 0xFFFFFFFF if none executed).
m_codeseparator_pos_init Whether m_codeseparator_pos is initialized.
m_output_hash The hash of the corresponding output
m_tapleaf_hash The tapleaf hash.
m_tapleaf_hash_init Whether m_tapleaf_hash is initialized.
m_validation_weight_left How much validation weight is left (decremented for every successful non-empty signature check).
m_validation_weight_left_init Whether m_validation_weight_left is initialized.