wallet::CWallet::RemoveTxs

RemoveTxs overloads

Synopses

Declared in <wallet/wallet.h>

Erases the provided transactions from the wallet.

[[requires_capability(0x7ff3720f0948), requires_capability(0x7ff365f20948), requires_capability(0x7ff35de5f2f8), requires_capability(0x7ff35efe3dd8), requires_capability(0x7ff366fd03b8)]]
util::Result<void>
RemoveTxs(std::vector<Txid>& txs_to_remove);
» more...

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

[[requires_capability(0x7ff3720f0a08), requires_capability(0x7ff365f20a08), requires_capability(0x7ff35de5f3b8), requires_capability(0x7ff35efe3e98), requires_capability(0x7ff366fd0478)]]
util::Result<void>
RemoveTxs(
    WalletBatch& batch,
    std::vector<Txid>& txs_to_remove);
» more...

Return Value

Success, or an error if removal failed.

Parameters

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