[#CScriptWitness] = CScriptWitness :mrdocs: Witness stack for a single transaction input. == Synopsis Declared in `<script/script.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CScriptWitness; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:CScriptWitness/2constructor.adoc[`CScriptWitness`] [.small]#[constructor]# | Constructs an empty witness. | xref:CScriptWitness/IsNull.adoc[`IsNull`] | Returns whether the witness stack is empty. | xref:CScriptWitness/SetNull.adoc[`SetNull`] | Clears the witness stack and releases its memory. | xref:CScriptWitness/ToString.adoc[`ToString`] | Returns a human‐readable representation of the witness stack. | xref:CScriptWitness/operator_eq.adoc[`operator==`] | Compares two witnesses for equality. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:CScriptWitness/stack.adoc[`stack`] | Data elements making up the witness stack. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#