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

Construct a mempool&hyphen;backed coins view over the given base view and mempool&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CCoinsViewMemPool(
    xref:CCoinsView.adoc[CCoinsView]* baseIn,
    xref:CTxMemPool.adoc[CTxMemPool] const& mempoolIn);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *baseIn*
| The underlying base coins view&period;
| *mempoolIn*
| The mempool whose outputs are made available&period;
|===


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