wallet::CWallet::MarkReplaced

Mark a transaction as replaced by another transaction.

Synopsis

Declared in <wallet/wallet.h>

bool
MarkReplaced(
    Txid const& originalHash,
    Txid const& newHash);

Return Value

true if the replacement was recorded.

Parameters

NameDescription
originalHashThe txid of the replaced transaction.
newHashThe txid of the replacement transaction.