Constructors

Synopses

Declared in <wallet/scriptpubkeyman.h>

Create an empty DescriptorScriptPubKeyMan with the given keypool size.

DescriptorScriptPubKeyMan(
    WalletStorage& storage,
    int64_t keypool_size);

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

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.

keypool_size

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

descriptor

The wallet descriptor backing this spkm.

keys

The unencrypted private keys to load.

ckeys

The encrypted private keys to load.

Created with MrDocs