[#wallet-CWallet-SetupDescriptorScriptPubKeyMans-05]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::SetupDescriptorScriptPubKeyMans
:relfileprefix: ../../
:mrdocs:

`SetupDescriptorScriptPubKeyMans` overloads

== Synopses

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

Create new DescriptorScriptPubKeyMans from a freshly generated seed&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde06f98), requires&lowbar;capability(0x7f95061a9cd8), requires&lowbar;capability(0x7f94f2b7a7e8), requires&lowbar;capability(0x7f94f0cf9478), requires&lowbar;capability(0x7f94fee3be68)&rsqb;&rsqb;
void
xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-04.adoc[SetupDescriptorScriptPubKeyMans]();
----

[.small]#xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-04.adoc[_» more&period;&period;&period;_]#

Create new DescriptorScriptPubKeyMans and add them to the wallet


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f94fde06ed8), requires&lowbar;capability(0x7f95061a9c18), requires&lowbar;capability(0x7f94f2b7a728), requires&lowbar;capability(0x7f94f0cf93b8), requires&lowbar;capability(0x7f94fee3bda8)&rsqb;&rsqb;
void
xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-0e.adoc[SetupDescriptorScriptPubKeyMans](
    xref:wallet/WalletBatch.adoc[WalletBatch]& batch,
    xref:CExtKey.adoc[CExtKey] const& master&lowbar;key);
----

[.small]#xref:wallet/CWallet/SetupDescriptorScriptPubKeyMans-0e.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *batch*
| The database batch to write through&period;
| *master&lowbar;key*
| The master key to derive the descriptors from&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
