Serializes the descriptor to a string, optionally including private keys.
Declared in <wallet/scriptpubkeyman.h>
[[nodiscard]]
bool
GetDescriptorString(
std::string& out,
bool priv) const;
| Name | Description |
|---|---|
| out | Filled with the serialized descriptor string. |
| priv | Whether to include private keys in the output. |