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

Constructors

== Synopses

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

By deleting the copy constructor, we prevent accidentally using it when one intends to create a cache on top of a base cache&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CCoinsViewCache/2constructor-0f.adoc[CCoinsViewCache](xref:CCoinsViewCache.adoc[CCoinsViewCache] const& other) = delete;
----

[.small]#xref:CCoinsViewCache/2constructor-0f.adoc[_» more&period;&period;&period;_]#

Construct a cache layered on top of a base view&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CCoinsViewCache/2constructor-04.adoc[CCoinsViewCache](
    xref:CCoinsView.adoc[CCoinsView]* in&lowbar;base,
    bool deterministic = false);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The cache that would be copied from (copying is disabled)&period;
| *in&lowbar;base*
| Non&hyphen;null base view this cache reads through to&period;
| *deterministic*
| When true, seed the hasher deterministically (for testing)&period;
|===


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