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

Mark a transaction as replaced by another transaction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
MarkReplaced(
    xref:Txid.adoc[Txid] const& originalHash,
    xref:Txid.adoc[Txid] const& newHash);
----

== Return Value

true if the replacement was recorded&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *originalHash*
| The txid of the replaced transaction&period;
| *newHash*
| The txid of the replacement transaction&period;
|===


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