wallet::CWallet::RemoveTxs

Erase the provided transactions from the wallet within a database batch.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7fb955bd0478), requires_capability(0x7fb94db84d98), requires_capability(0x7fb95ab14c18), requires_capability(0x7fb959fb17f8), requires_capability(0x7fb956cbba88)]]
util::Result<void>
RemoveTxs(
    WalletBatch& batch,
    std::vector<Txid>& txs_to_remove);

Return Value

Success, or an error if removal failed.

Parameters

NameDescription
batchThe database batch to write through.
txs_to_removeThe txids to erase from the wallet.