[#wallet-CWallet-SetupDescriptorScriptPubKeyMans-0e] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::SetupDescriptorScriptPubKeyMans :relfileprefix: ../../ :mrdocs: Create new DescriptorScriptPubKeyMans and add them to the wallet == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1e59a428), requires_capability(0x7f2e11aab1e8), requires_capability(0x7f2e16a00fd8), requires_capability(0x7f2e15f30478), requires_capability(0x7f2e12c6f108)]] void SetupDescriptorScriptPubKeyMans( xref:wallet/WalletBatch.adoc[WalletBatch]& batch, xref:CExtKey.adoc[CExtKey] const& master_key); ---- == Parameters [cols="1,4"] |=== | Name| Description | *batch* | The database batch to write through. | *master_key* | The master key to derive the descriptors from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#