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

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CBlockLocator(std::vector&lt;uint256&gt;&& have);
----

== Parameters

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


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