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

Marks all outputs in each one of the destinations dirty, so their cache is reset and does not return outdated information&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde05b18), requires&lowbar;capability(0x7f95061a8858), requires&lowbar;capability(0x7f94f2b79368), requires&lowbar;capability(0x7f94f0cf7ff8), requires&lowbar;capability(0x7f94fee3a9e8)&rsqb;&rsqb;
void
MarkDestinationsDirty(std::set&lt;CTxDestination&gt; const& destinations);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *destinations*
| The destinations whose cached outputs to invalidate&period;
|===


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