[#CScriptID] = CScriptID :mrdocs: A reference to a CScript: the Hash160 of its serialization == Synopsis Declared in `<script/script.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CScriptID : public xref:BaseHash-03.adoc[BaseHash<uint160>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BaseHash-03.adoc[BaseHash<uint160>]` | Wraps a fixed‐size hash value and exposes byte‐range access to it. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:CScriptID/2constructor-02.adoc[`CScriptID`] [.small]#[constructor]# | Constructors | xref:CScriptID/ToString.adoc[`ToString`] | Returns the hexadecimal string representation of the hash. | xref:CScriptID/begin-09.adoc[`begin`] | `begin` overloads | xref:CScriptID/data-0d1.adoc[`data`] | `data` overloads | xref:CScriptID/end-0ef.adoc[`end`] | `end` overloads | xref:CScriptID/size.adoc[`size`] | Returns the number of bytes in the hash. | xref:CScriptID/2conversion.adoc[`operator std::vector<unsigned char>`] | Converts the hash to a byte vector. | xref:CScriptID/operator_eq.adoc[`operator==`] | Compares two hashes for equality. | xref:CScriptID/operator_lt.adoc[`operator<`] | Orders two hashes. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:CScriptID/m_hash.adoc[`m_hash`] | The wrapped hash value. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:ToScriptID.adoc[`ToScriptID`] | Convert a script‐hash destination back to a script identifier. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#