Create a DescriptorScriptPubKeyMan from existing data (i.e. during loading)

Synopsis

Declared in <wallet/scriptpubkeyman.h>

DescriptorScriptPubKeyMan(
    WalletStorage& storage,
    WalletDescriptor& descriptor,
    int64_t keypool_size,
    KeyMap const& keys,
    CryptedKeyMap const& ckeys);

Parameters

Name

Description

storage

The wallet storage this spkm is bound to.

descriptor

The wallet descriptor backing this spkm.

keypool_size

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

keys

The unencrypted private keys to load.

ckeys

The encrypted private keys to load.

Created with MrDocs