[#wallet-CWallet-LoadLockedCoin]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::LoadLockedCoin
:relfileprefix: ../../
:mrdocs:

Load a locked coin from the database into memory&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e5983b8), requires&lowbar;capability(0x7f2e11aa9178), requires&lowbar;capability(0x7f2e169fef68), requires&lowbar;capability(0x7f2e15f2e408), requires&lowbar;capability(0x7f2e12c6d098)&rsqb;&rsqb;
void
LoadLockedCoin(
    xref:COutPoint.adoc[COutPoint] const& coin,
    bool persistent);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *coin*
| The outpoint to mark as locked&period;
| *persistent*
| Whether the lock is persisted to disk&period;
|===


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