[#CBlockLocator-2constructor-09]
= xref:CBlockLocator.adoc[CBlockLocator]::CBlockLocator
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;primitives&sol;block&period;h&gt;`

Constructs an empty locator&period;


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

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

Constructs a locator from a list of block hashes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:CBlockLocator/2constructor-04.adoc[CBlockLocator](std::vector&lt;uint256&gt;&& have);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *have*
| The block hashes to take ownership of&period;
|===


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