[#kernel-CCoinsStats-2constructor-04]
= xref:kernel.adoc[kernel]::xref:kernel/CCoinsStats.adoc[CCoinsStats]::CCoinsStats
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;kernel&sol;coinstats&period;h&gt;`

Constructs empty statistics&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:kernel/CCoinsStats/2constructor-08.adoc[CCoinsStats]() = default;
----

[.small]#xref:kernel/CCoinsStats/2constructor-08.adoc[_» more&period;&period;&period;_]#

Constructs statistics anchored to a block&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:kernel/CCoinsStats/2constructor-0b.adoc[CCoinsStats](
    int block&lowbar;height,
    xref:uint256.adoc[uint256] const& block&lowbar;hash);
----

[.small]#xref:kernel/CCoinsStats/2constructor-0b.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;height*
| The block height the statistics apply to&period;
| *block&lowbar;hash*
| The hash of that block&period;
|===


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