[#WitnessUnknown-2constructor-0d]
= xref:WitnessUnknown.adoc[WitnessUnknown]::WitnessUnknown
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct from a signed witness version and program&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:WitnessUnknown/2constructor-02.adoc[WitnessUnknown](
    int version,
    std::vector&lt;unsigned char&gt; const& program);
----

[.small]#xref:WitnessUnknown/2constructor-02.adoc[_» more&period;&period;&period;_]#

Construct from an unsigned witness version and program&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:WitnessUnknown/2constructor-0b.adoc[WitnessUnknown](
    unsigned int version,
    std::vector&lt;unsigned char&gt; const& program);
----

[.small]#xref:WitnessUnknown/2constructor-0b.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *version*
| The witness version&period;
| *program*
| The witness program bytes&period;
|===


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