Serializes the descriptor to a string, optionally including private keys.
Synopsis
Declared in <wallet/scriptpubkeyman.h>
[[nodiscard]]
bool
GetDescriptorString(
std::string& out,
bool priv) const;
Return Value
true if the descriptor was serialized.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
out |
Filled with the serialized descriptor string. |
priv |
Whether to include private keys in the output. |
Created with MrDocs