[#wallet-DescriptorScriptPubKeyMan-MarkUnusedAddresses] = xref:wallet.adoc[wallet]::xref:wallet/DescriptorScriptPubKeyMan.adoc[DescriptorScriptPubKeyMan]::MarkUnusedAddresses :relfileprefix: ../../ :mrdocs: Marks addresses up to and including the one for the given script as used. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual std::vector<WalletDestination> MarkUnusedAddresses(xref:CScript.adoc[CScript] const& script) override; ---- == Return Value The destinations that were affected. == Parameters [cols="1,4"] |=== | Name| Description | *script* | The script determining the last address to mark as used. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#