wallet::CWallet::EraseAddressReceiveRequest

Erase a stored receive request for a destination.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7ff3720f0dc8), requires_capability(0x7ff365f20dc8), requires_capability(0x7ff35de5f778), requires_capability(0x7ff35efe4258), requires_capability(0x7ff366fd0838)]]
bool
EraseAddressReceiveRequest(
    WalletBatch& batch,
    CTxDestination const& dest,
    std::string const& id);

Return Value

true if the request was erased.

Parameters

NameDescription
batchThe database batch to write through.
destThe destination the request belongs to.
idThe identifier of the receive request to erase.