Creates a DescriptorScriptPubKeyMan from an imported descriptor and signing provider.

Synopsis

Declared in <wallet/scriptpubkeyman.h>

static
std::unique_ptr<DescriptorScriptPubKeyMan>
CreateFromImport(
    WalletStorage& storage,
    WalletDescriptor& descriptor,
    int64_t keypool_size,
    FlatSigningProvider const& provider);

Return Value

The new DescriptorScriptPubKeyMan.

Parameters

Name

Description

storage

The wallet storage this spkm is bound to.

descriptor

The wallet descriptor being imported.

keypool_size

The number of keys/scripts to keep pre‐generated.

provider

The signing provider supplying keys for the descriptor.

Created with MrDocs