wallet::HasLegacyRecords

HasLegacyRecords overloads

Synopses

Declared in <wallet/walletdb.h>

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

bool
HasLegacyRecords(CWallet& wallet);
» more...

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

bool
HasLegacyRecords(
    CWallet& wallet,
    DatabaseBatch& batch);
» more...

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.