wallet::HasLegacyRecords

Returns true if there are any DBKeys::LEGACY_TYPES record in the wallet db.

Synopsis

Declared in <wallet/walletdb.h>

bool
HasLegacyRecords(
    CWallet& wallet,
    DatabaseBatch& batch);

Return Value

true if the wallet contains any legacy records.

Parameters

NameDescription
walletThe wallet to inspect.
batchAn open batch on the wallet database to read through.