[#wallet-CWallet-AbandonTransaction-06] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::AbandonTransaction :relfileprefix: ../../ :mrdocs: `AbandonTransaction` overloads == Synopses Declared in `<wallet/wallet.h>` Mark a wallet transaction (and its descendants) as abandoned. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1e599c68), requires_capability(0x7f2e11aaaa28), requires_capability(0x7f2e16a00818), requires_capability(0x7f2e15f2fcb8), requires_capability(0x7f2e12c6e948)]] bool xref:wallet/CWallet/AbandonTransaction-0b.adoc[AbandonTransaction](xref:wallet/CWalletTx.adoc[CWalletTx]& tx); ---- [.small]#xref:wallet/CWallet/AbandonTransaction-0b.adoc[_» more..._]# Mark a transaction (and it in‐wallet descendants) as abandoned so its inputs may be respent. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:wallet/CWallet/AbandonTransaction-00.adoc[AbandonTransaction](xref:Txid.adoc[Txid] const& hashTx); ---- [.small]#xref:wallet/CWallet/AbandonTransaction-00.adoc[_» more..._]# == Return Value true if the transaction was marked abandoned. == Parameters [cols="1,4"] |=== | Name| Description | *tx* | The wallet transaction to abandon. | *hashTx* | The txid of the transaction to abandon. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#