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

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

== Synopsis

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

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

== 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]#
