[#wallet-MigrationData]
= xref:wallet.adoc[wallet]::MigrationData
:relfileprefix: ../
:mrdocs:

struct containing information needed for migrating legacy wallets to descriptor wallets

== Synopsis

Declared in `&lt;wallet&sol;scriptpubkeyman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct MigrationData;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:wallet/MigrationData/desc_spkms.adoc[`desc&lowbar;spkms`] 
| The descriptor spkms (with private keys) produced by the migration&period;
| xref:wallet/MigrationData/master_key.adoc[`master&lowbar;key`] 
| The master key derived from the legacy wallet&period;
| xref:wallet/MigrationData/solvable_descs.adoc[`solvable&lowbar;descs`] 
| Descriptor strings (with timestamps) for solvable but not owned outputs&period;
| xref:wallet/MigrationData/solvable_wallet.adoc[`solvable&lowbar;wallet`] 
| The wallet holding solvable but not owned outputs, if any&period;
| xref:wallet/MigrationData/watch_descs.adoc[`watch&lowbar;descs`] 
| Descriptor strings (with timestamps) for watch&hyphen;only outputs&period;
| xref:wallet/MigrationData/watchonly_wallet.adoc[`watchonly&lowbar;wallet`] 
| The wallet holding watch&hyphen;only outputs, if any&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
