wallet::WalletBatch::WriteAddressPreviouslySpent

Records whether an address has previously been spent from.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteAddressPreviouslySpent(
    CTxDestination const& dest,
    bool previously_spent);

Return Value

true if the record was written.

Parameters

NameDescription
destThe address destination.
previously_spentWhether the address has been spent from.