Result of migrating a legacy wallet to descriptor wallets.

Synopsis

Declared in <wallet/wallet.h>

struct MigrationResult;

Data Members

Name

Description

backup_path

Path to the backup created before migration.

solvables_wallet

The solvables wallet split off, if any.

solvables_wallet_name

Name of the solvables wallet split off, if any.

wallet

The migrated wallet.

wallet_name

Name of the migrated wallet.

watchonly_wallet

The watch‐only wallet split off, if any.

watchonly_wallet_name

Name of the watch‐only wallet split off, if any.

Non-Member Functions

Name

Description

MigrateLegacyToDescriptor

Do all steps to migrate a legacy wallet to a descriptor wallet

MigrateLegacyToDescriptor

Requirement: The wallet provided to this function must be isolated, with no attachment to the node's context.

Created with MrDocs