Expand description

Abstract Syntax Tree

Defines a variety of data structures for describing Miniscript, a subset of Bitcoin Script which can be efficiently parsed and serialized from Script, and from which it is easy to extract data needed to construct witnesses.

Users of the library in general will only need to use the structures exposed from the top level of this module; however for people wanting to do advanced things, the submodules are public as well which provide visibility into the components of the AST.

Modules

AST Elements

Script Decoder

Lexer

Satisfaction and Dissatisfaction

Structs

Top-level script AST type

Enums

Legacy ScriptContext

Segwitv0 ScriptContext

Traits