[#CBlockIndex-GetBlockHeader]
= xref:CBlockIndex.adoc[CBlockIndex]::GetBlockHeader
:relfileprefix: ../
:mrdocs:

Reconstructs the block header for this entry&period;

== Synopsis

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

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

== Return Value

A header populated from this entry&apos;s fields and its predecessor&apos;s hash&period;


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