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);

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

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