RemoveTxs overloads

Synopses

Declared in <wallet/wallet.h>

Erases the provided transactions from the wallet.

[[requires_capability(0x7f94fde05f98), requires_capability(0x7f95061a8cd8), requires_capability(0x7f94f2b797e8), requires_capability(0x7f94f0cf8478), requires_capability(0x7f94fee3ae68)]]
util::Result<void>
RemoveTxs(std::vector<Txid>& txs_to_remove);

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

[[requires_capability(0x7f94fde06058), requires_capability(0x7f95061a8d98), requires_capability(0x7f94f2b798a8), requires_capability(0x7f94f0cf8538), requires_capability(0x7f94fee3af28)]]
util::Result<void>
RemoveTxs(
    WalletBatch& batch,
    std::vector<Txid>& txs_to_remove);

Return Value

Success, or an error if removal failed.

Parameters

Name

Description

txs_to_remove

The txids to erase from the wallet.

batch

The database batch to write through.

Created with MrDocs