[#wallet-ScriptPubKeyMan-KeepDestination]
= xref:wallet.adoc[wallet]::xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]::KeepDestination
:relfileprefix: ../../
:mrdocs:

Marks a previously reserved destination as used so it is not handed out again&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
KeepDestination(
    int64&lowbar;t index,
    xref:OutputType.adoc[OutputType] const& type);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| The keypool index of the reserved destination&period;
| *type*
| The output type of the reserved destination&period;
|===


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