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

Construct an overlay that fetches block input prevouts in parallel&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CoinsViewOverlay(
    xref:CCoinsView.adoc[CCoinsView]* in&lowbar;base,
    std::shared&lowbar;ptr&lt;ThreadPool&gt; thread&lowbar;pool,
    bool deterministic = false) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in&lowbar;base*
| Non&hyphen;null base view this overlay reads through to&period;
| *thread&lowbar;pool*
| Non&hyphen;null thread pool used to fetch inputs in parallel&period;
| *deterministic*
| When true, seed the hasher deterministically (for testing)&period;
|===


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