Loads a DescriptorScriptPubKeyMan from stored wallet data.
Declared in <wallet/scriptpubkeyman.h>
static
std::unique_ptr<DescriptorScriptPubKeyMan>
LoadFromStorage(
WalletStorage& storage,
WalletDescriptor& descriptor,
int64_t keypool_size,
KeyMap const& keys,
CryptedKeyMap const& ckeys);
The loaded DescriptorScriptPubKeyMan.
| 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. |