Convert the descriptor to a private string. This uses public keys if the relevant private keys are not in the SigningProvider. If none of the relevant private keys are available, the output string in the "out" parameter will not contain any private key information, and this function will return "false".
Synopsis
Declared in <script/descriptor.h>
virtual
bool
ToPrivateString(
SigningProvider const& provider,
std::string& out) const = 0;
Return Value
true if at least one private key available.
Parameters
Name |
Description |
provider [in] |
The SigningProvider to query for private keys. |
out [out] |
The resulting descriptor string, containing private keys if available. |
Created with MrDocs