wallet::LegacyDataSPKM::MigrateToDescriptor

Get the DescriptorScriptPubKeyMans (with private keys) that have the same scriptPubKeys as this LegacyDataSPKM. Does not modify this LegacyDataSPKM.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

std::optional<MigrationData>
MigrateToDescriptor();

Return Value

The migration data, or nullopt if migration is not possible.