Module decode

Source
Expand description

Script Decoder

Functionality to parse a Bitcoin Script into a Miniscript

Enums§

KeyParseError
Decoding error while parsing keys
Terminal
All AST elements This variant is the inner Miniscript variant that allows the user to bypass some of the miniscript rules. You should never construct Terminal directly. This is only exposed to external user to allow matching on the crate::Miniscript

Traits§

ParseableKey
Trait for parsing keys from byte slices

Functions§

parse
Parse a script fragment into an Miniscript