RemoveTxs overloads

Synopses

Declared in <wallet/wallet.h>

Erases the provided transactions from the wallet.

[[requires_capability(0x7fbc76bfe2f8), requires_capability(0x7fbc81b77cb8), requires_capability(0x7fbc7e015b38), requires_capability(0x7fbc7e244fe8), requires_capability(0x7fbc8e715c28)]]
util::Result<void>
RemoveTxs(std::vector<Txid>& txs_to_remove);

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

[[requires_capability(0x7fbc76bfe3b8), requires_capability(0x7fbc81b77d78), requires_capability(0x7fbc7e015bf8), requires_capability(0x7fbc7e2450a8), requires_capability(0x7fbc8e715ce8)]]
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