Creates a DescriptorScriptPubKeyMan while migrating a legacy wallet.
Declared in <wallet/scriptpubkeyman.h>
static
std::unique_ptr<DescriptorScriptPubKeyMan>
CreateFromMigration(
WalletStorage& storage,
WalletBatch& batch,
WalletDescriptor& descriptor,
int64_t keypool_size,
FlatSigningProvider const& provider);
The new DescriptorScriptPubKeyMan.
| Name | Description |
|---|---|
| storage | The wallet storage this spkm is bound to. |
| batch | The database batch to write the new spkm through. |
| descriptor | The wallet descriptor produced by the migration. |
| keypool_size | The number of keys/scripts to keep pre-generated. |
| provider | The signing provider supplying keys for the descriptor. |