wallet::CWallet::EraseAddressReceiveRequest

Erase a stored receive request for a destination.

Synopsis

Declared in <wallet/wallet.h>

[[requires_capability(0x7f2e1e599968), requires_capability(0x7f2e11aaa728), requires_capability(0x7f2e16a00518), requires_capability(0x7f2e15f2f9b8), requires_capability(0x7f2e12c6e648)]]
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.