[#CompressedHeader-2constructor-0a]
= xref:CompressedHeader.adoc[CompressedHeader]::CompressedHeader
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Constructs an empty compressed header with a null Merkle root&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CompressedHeader/2constructor-0d.adoc[CompressedHeader]();
----

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

Constructs a compressed header by copying the fields of a full header&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:CompressedHeader/2constructor-0f.adoc[CompressedHeader](xref:CBlockHeader.adoc[CBlockHeader] const& header);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *header*
| The full block header to compress (its prevhash is dropped)&period;
|===


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