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

Constructs the view, opening the coin database with the given parameters&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CCoinsViewDB(
    xref:DBParams.adoc[DBParams] db&lowbar;params,
    xref:CoinsViewOptions.adoc[CoinsViewOptions] options);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *db&lowbar;params*
| Parameters used to open the underlying database&period;
| *options*
| User&hyphen;controlled performance and debug options&period;
|===


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