[#WitnessUnknown]
= WitnessUnknown
:mrdocs:

CTxDestination subtype to encode any future Witness version&period;

== Synopsis

Declared in `&lt;addresstype&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct WitnessUnknown;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:WitnessUnknown/2constructor-0d.adoc[`WitnessUnknown`]         [.small]#[constructor]#
| Constructors
| xref:WitnessUnknown/GetWitnessProgram.adoc[`GetWitnessProgram`] 
| Return the witness program bytes&period;
| xref:WitnessUnknown/GetWitnessVersion.adoc[`GetWitnessVersion`] 
| Return the witness version&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:operator_lt-0d.adoc[operator&lt;]`
| Order two destinations by version, then by program&period;
| `xref:operator_eq-04e.adoc[operator&equals;&equals;]`
| Compare two destinations for equality by version and program&period;
|===

== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:PayToAnchor.adoc[`PayToAnchor`] 
| A pay&hyphen;to&hyphen;anchor destination for a P2A address&period;
|===


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