[#CDiskBlockIndex-2constructor-07]
= xref:CDiskBlockIndex.adoc[CDiskBlockIndex]::CDiskBlockIndex
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Constructs an empty disk block index with a null predecessor hash&period;


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

[.small]#xref:CDiskBlockIndex/2constructor-01.adoc[_» more&period;&period;&period;_]#

Constructs a disk block index from an in&hyphen;memory block index entry&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:CDiskBlockIndex/2constructor-06.adoc[CDiskBlockIndex](xref:CBlockIndex.adoc[CBlockIndex] const* pindex);
----

[.small]#xref:CDiskBlockIndex/2constructor-06.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindex*
| The block index entry to copy, whose predecessor hash is captured&period;
|===


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