[#CCoinsViewCache-EmplaceCoinInternalDANGER]
= xref:CCoinsViewCache.adoc[CCoinsViewCache]::EmplaceCoinInternalDANGER
:relfileprefix: ../
:mrdocs:

Emplace a coin into cacheCoins without performing any checks, marking the emplaced coin as dirty&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
EmplaceCoinInternalDANGER(
    xref:COutPoint.adoc[COutPoint] const& outpoint,
    xref:Coin-04.adoc[Coin]&& coin);
----

== Description

NOT FOR GENERAL USE&period; Used only when loading coins from a UTXO snapshot&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *outpoint*
| The outpoint to add the coin under&period;
| *coin*
| The coin to emplace (moved into the cache)&period;
|===


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