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

Name

Description

wallet

The wallet to inspect.

batch

An open batch on the wallet database to read through.

Created with MrDocs