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

`AbandonTransaction` overloads

== Synopses

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

Mark a wallet transaction (and its descendants) as abandoned&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e599c68), requires&lowbar;capability(0x7f2e11aaaa28), requires&lowbar;capability(0x7f2e16a00818), requires&lowbar;capability(0x7f2e15f2fcb8), requires&lowbar;capability(0x7f2e12c6e948)&rsqb;&rsqb;
bool
xref:wallet/CWallet/AbandonTransaction-0b.adoc[AbandonTransaction](xref:wallet/CWalletTx.adoc[CWalletTx]& tx);
----

[.small]#xref:wallet/CWallet/AbandonTransaction-0b.adoc[_» more&period;&period;&period;_]#

Mark a transaction (and it in&hyphen;wallet descendants) as abandoned so its inputs may be respent&period;


[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&period;&period;&period;_]#

== Return Value

true if the transaction was marked abandoned&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tx*
| The wallet transaction to abandon&period;
| *hashTx*
| The txid of the transaction to abandon&period;
|===


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