RemoveTxs overloads

Synopses

Declared in <wallet/wallet.h>

Erases the provided transactions from the wallet.

[[requires_capability(0x7f2e1e5994e8), requires_capability(0x7f2e11aaa2a8), requires_capability(0x7f2e16a00098), requires_capability(0x7f2e15f2f538), requires_capability(0x7f2e12c6e1c8)]]
util::Result<void>
RemoveTxs(std::vector<Txid>& txs_to_remove);

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

[[requires_capability(0x7f2e1e5995a8), requires_capability(0x7f2e11aaa368), requires_capability(0x7f2e16a00158), requires_capability(0x7f2e15f2f5f8), requires_capability(0x7f2e12c6e288)]]
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