[#wallet-CWallet-LoadDescriptorScriptPubKeyMan] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::LoadDescriptorScriptPubKeyMan :relfileprefix: ../../ :mrdocs: Instantiate a descriptor ScriptPubKeyMan from the WalletDescriptor and load it == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void LoadDescriptorScriptPubKeyMan( xref:uint256.adoc[uint256] id, xref:wallet/WalletDescriptor.adoc[WalletDescriptor]& desc, xref:wallet/KeyMap.adoc[KeyMap] const& keys, xref:wallet/CryptedKeyMap.adoc[CryptedKeyMap] const& ckeys); ---- == Parameters [cols="1,4"] |=== | Name| Description | *id* | The unique id for the ScriptPubKeyMan. | *desc* | The wallet descriptor to instantiate. | *keys* | The plaintext keys belonging to the descriptor. | *ckeys* | The encrypted keys belonging to the descriptor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#