Create new DescriptorScriptPubKeyMan and add it to the wallet
Declared in <wallet/wallet.h>
[[requires_capability(0x7fb955bd1238), requires_capability(0x7fb94db85b58), requires_capability(0x7fb95ab159d8), requires_capability(0x7fb959fb25b8), requires_capability(0x7fb956cbc848)]]
DescriptorScriptPubKeyMan&
SetupDescriptorScriptPubKeyMan(
WalletBatch& batch,
CExtKey const& master_key,
OutputType const& output_type,
bool internal);
The newly created descriptor ScriptPubKeyMan.
| Name | Description |
|---|---|
| batch | The database batch to write through. |
| master_key | The master key to derive the descriptor from. |
| output_type | The output type the descriptor produces. |
| internal | Whether this manages internal (change) addresses. |