[#wallet-CWallet-SetupDescriptorScriptPubKeyMans-05] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::SetupDescriptorScriptPubKeyMans :relfileprefix: ../../ :mrdocs: `SetupDescriptorScriptPubKeyMans` overloads == Synopses Declared in `<wallet/wallet.h>` Create new DescriptorScriptPubKeyMans from a freshly generated seed. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde06f98), requires_capability(0x7f95061a9cd8), requires_capability(0x7f94f2b7a7e8), requires_capability(0x7f94f0cf9478), requires_capability(0x7f94fee3be68)]] void xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-04.adoc[SetupDescriptorScriptPubKeyMans](); ---- [.small]#xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-04.adoc[_» more..._]# Create new DescriptorScriptPubKeyMans and add them to the wallet [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde06ed8), requires_capability(0x7f95061a9c18), requires_capability(0x7f94f2b7a728), requires_capability(0x7f94f0cf93b8), requires_capability(0x7f94fee3bda8)]] void xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-0e.adoc[SetupDescriptorScriptPubKeyMans]( xref:wallet/WalletBatch.adoc[WalletBatch]& batch, xref:CExtKey.adoc[CExtKey] const& master_key); ---- [.small]#xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-0e.adoc[_» more..._]# == 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]#