Function bitcoin_signingprovider::parse
source · pub fn parse(
descriptor: &String,
out: &mut FlatSigningProvider,
error: &mut String,
require_checksum: Option<bool>
) -> Box<dyn Descriptor>
Expand description
| Parse a descriptor
string. Included
| private keys are put in out
.
|
| If the descriptor has a checksum, it
| must be valid. If require_checksum
| is set, the checksum is mandatory - otherwise
| it is optional.
|
| If a parse error occurs, or the checksum
| is missing/invalid, or anything else
| is wrong, nullptr
is returned.
|