Module wallet::descriptor [−][src]
General workflow for working with ScriptPubkey* types:
Template -> Descriptor -> Structure -> PubkeyScript -> TxOut
TxOut -> PubkeyScript -> Descriptor -> Structure -> Format
Structs
Generator | |
GeneratorParseError | Error parsing descriptor generator: unrecognized string |
MultiSig | |
ScriptSource | |
ScriptTemplate | Allows creating templates for native bitcoin scripts with embedded key generator templates. May be useful for creating descriptors in situations where target script can’t be deterministically represented by miniscript, for instance for Lightning network-specific transaction outputs |
Variants |
Enums
Category | Descriptor category specifies way how the |
Compact | |
CompiledMiniscript | |
ContentType | |
ContractDescriptor | NB: Sorted bare multisigs are not supported and will produce unsorted bare multisig instead |
ContractType | |
DeductionError | Errors that happens during |
Error | |
Expanded | |
FullType | |
InnerType | |
OuterType | |
ParseError | |
ScriptConstruction | |
ScriptSourceFormat | Representation formats for bitcoin script data |
SingleSig | |
Template |
Traits
Deduce | |
DeriveLockScript |