[#CBlockIndex-2constructor-0b] = xref:CBlockIndex.adoc[CBlockIndex]::CBlockIndex :relfileprefix: ../ :mrdocs: Constructs a block index entry from a block header. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit CBlockIndex(xref:CBlockHeader.adoc[CBlockHeader] const& block); ---- == 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]#