Adds the ScriptPubKeyMans from MigrationData to this wallet, removes the LegacyDataSPKM, and moves transaction and address book entries to watchonly_wallet or solvable_wallet as needed.
Synopsis
Declared in <wallet/wallet.h>
[[requires_capability(0x7fd7422a95e8), requires_capability(0x7fd745ce01e8), requires_capability(0x7fd73e2a26c8), requires_capability(0x7fd73e451b68), requires_capability(0x7fd739991c08)]]
util::Result<void>
ApplyMigrationData(
WalletBatch& local_wallet_batch,
MigrationData& data);
Return Value
Success, or an error if the migration data could not be applied.
Parameters
Name |
Description |
local_wallet_batch |
The database batch of this wallet to write through. |
data |
The migration data to apply. |
Created with MrDocs