[#CoinsViewEmpty]
= CoinsViewEmpty
:mrdocs:

Noop coins view&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class CoinsViewEmpty
    : public xref:CCoinsView.adoc[CCoinsView]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:CCoinsView.adoc[CCoinsView]`
| Pure abstract view on the open txout dataset&period;
|===

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CoinsViewEmpty/2constructor-07.adoc[`CoinsViewEmpty`]         [.small]#[constructor]# [.small]#[deleted]#
| Copying is disabled&semi; the empty view is a shared singleton&period;
| xref:CoinsViewEmpty/operator_assign.adoc[`operator&equals;`]  [.small]#[deleted]#
| Copy assignment is disabled&semi; the empty view is a shared singleton&period;
| xref:CoinsViewEmpty/BatchWrite.adoc[`BatchWrite`]  [.small]#[virtual]#
| Consume the cursor without writing anything&period;
| xref:CoinsViewEmpty/EstimateSize.adoc[`EstimateSize`]  [.small]#[virtual]#
| Estimate the database size as empty&period;
| xref:CoinsViewEmpty/GetBestBlock.adoc[`GetBestBlock`]  [.small]#[virtual]#
| Report the best block as the null hash&period;
| xref:CoinsViewEmpty/GetCoin.adoc[`GetCoin`]  [.small]#[virtual]#
| Always report the outpoint as spent&period;
| xref:CoinsViewEmpty/GetHeadBlocks.adoc[`GetHeadBlocks`]  [.small]#[virtual]#
| Report no partially&hyphen;written head blocks&period;
| xref:CoinsViewEmpty/HaveCoin.adoc[`HaveCoin`]  [.small]#[virtual]#
| Always report the outpoint as spent&period;
| xref:CoinsViewEmpty/PeekCoin.adoc[`PeekCoin`]  [.small]#[virtual]#
| Always report the outpoint as spent&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CoinsViewEmpty/Get.adoc[`Get`] 
| Access the shared singleton empty view&period;
|===


== Protected Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CoinsViewEmpty/2constructor-09.adoc[`CoinsViewEmpty`]         [.small]#[constructor]#
| Construct the empty view&period;
|===



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