[#CBlockIndex-2constructor-02] = xref:CBlockIndex.adoc[CBlockIndex]::CBlockIndex :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<chain.h>` Constructs an empty block index entry. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:CBlockIndex/2constructor-05.adoc[CBlockIndex]() = default; ---- [.small]#xref:CBlockIndex/2constructor-05.adoc[_» more..._]# Constructs a block index entry from a block header. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:CBlockIndex/2constructor-0b.adoc[CBlockIndex](xref:CBlockHeader.adoc[CBlockHeader] const& block); ---- [.small]#xref:CBlockIndex/2constructor-0b.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *block* | The header whose version, merkle root, time, bits, and nonce are copied. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#