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

Synopsis

Declared in <wallet/wallet.h>

util::Result<void>
RemoveTxs(
    WalletBatch& batch,
    std::vector<Txid>& txs_to_remove);

Return Value

Success, or an error if removal failed.

Parameters

Name

Description

batch

The database batch to write through.

txs_to_remove

The txids to erase from the wallet.

Created with MrDocs