[#WitnessV0ScriptHash] = WitnessV0ScriptHash :mrdocs: A version‐0 witness script‐hash destination for a P2WSH address. == Synopsis Declared in `<addresstype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct WitnessV0ScriptHash : xref:BaseHash-03.adoc[BaseHash<uint256>] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BaseHash-03.adoc[BaseHash<uint256>]` | Wraps a fixed‐size hash value and exposes byte‐range access to it. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:WitnessV0ScriptHash/2constructor-08.adoc[`WitnessV0ScriptHash`] [.small]#[constructor]# | Constructors | xref:WitnessV0ScriptHash/ToString.adoc[`ToString`] | Returns the hexadecimal string representation of the hash. | xref:WitnessV0ScriptHash/begin-0ab.adoc[`begin`] | `begin` overloads | xref:WitnessV0ScriptHash/data-00.adoc[`data`] | `data` overloads | xref:WitnessV0ScriptHash/end-0c.adoc[`end`] | `end` overloads | xref:WitnessV0ScriptHash/size.adoc[`size`] | Returns the number of bytes in the hash. | xref:WitnessV0ScriptHash/2conversion.adoc[`operator std::vector<unsigned char>`] | Converts the hash to a byte vector. | xref:WitnessV0ScriptHash/operator_eq.adoc[`operator==`] | Compares two hashes for equality. | xref:WitnessV0ScriptHash/operator_lt.adoc[`operator<`] | Orders two hashes. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:WitnessV0ScriptHash/m_hash.adoc[`m_hash`] | The wrapped hash value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#