Miniscript: a structured representation of Bitcoin Scripts.
Description
Provides the node types, the fragment/Type type system, and the availability enums used to build, analyze, and satisfy Miniscript expressions under the P2WSH and Tapscript contexts.
Types
Type Aliases
Name |
Description |
A single script opcode together with any immediate data it pushes. |
Enums
Name |
Description |
Three‐valued result for whether a satisfaction or dissatisfaction is available. |
|
The different node types in miniscript. |
|
The script context a Miniscript is used under. |
Functions
Name |
Description |
Compare two miniscript subtrees, using a non‐recursive algorithm. |
|
Unordered traversal of a miniscript node tree. |
|
Decodes a Miniscript from a Bitcoin Script. |
|
Parses a Miniscript from its textual (policy‐language) representation. |
|
Whether the context Tapscript, ensuring the only other possibility is P2WSH. |
|
The only way to publicly construct a Type is using this literal operator. |
Created with MrDocs