Builds a new wallet descriptor for the given key and output type.
Declared in <wallet/walletutil.h>
WalletDescriptor
GenerateWalletDescriptor(
CExtPubKey const& master_key,
OutputType const& output_type,
bool internal);
The generated wallet descriptor.
| Name | Description |
|---|---|
| master_key | The extended public key the descriptor derives from. |
| output_type | The output type the descriptor should produce. |
| internal | Whether the descriptor is for internal (change) addresses. |