Create new DescriptorScriptPubKeyMan and add it to the wallet
Synopsis
Declared in <wallet/wallet.h>
[[requires_capability(0x7fbc76bff178), requires_capability(0x7fbc81b78b38), requires_capability(0x7fbc7e0169b8), requires_capability(0x7fbc7e245e68), requires_capability(0x7fbc8e716aa8)]]
DescriptorScriptPubKeyMan&
SetupDescriptorScriptPubKeyMan(
WalletBatch& batch,
CExtKey const& master_key,
OutputType const& output_type,
bool internal);
Return Value
The newly created descriptor ScriptPubKeyMan.
Parameters
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. |
Created with MrDocs