[#CScriptWitness]
= CScriptWitness
:mrdocs:

Witness stack for a single transaction input&period;

== Synopsis

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

[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&period;
| xref:CScriptWitness/IsNull.adoc[`IsNull`] 
| Returns whether the witness stack is empty&period;
| xref:CScriptWitness/SetNull.adoc[`SetNull`] 
| Clears the witness stack and releases its memory&period;
| xref:CScriptWitness/ToString.adoc[`ToString`] 
| Returns a human&hyphen;readable representation of the witness stack&period;
| xref:CScriptWitness/operator_eq.adoc[`operator&equals;&equals;`] 
| Compares two witnesses for equality&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:CScriptWitness/stack.adoc[`stack`] 
| Data elements making up the witness stack&period;
|===



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