Expand description
Interpreter
Provides a Miniscript-based script interpreter which can be used to iterate over the set of conditions satisfied by a spending transaction, assuming that the spent coin was descriptor controlled.
Structs§
- Interpreter
- An iterable Miniscript-structured representation of the spending of a coin
- Iter
- Iterator over all the constraints satisfied by a completed scriptPubKey and witness stack
- Stack
- Stack Data structure representing the stack input to Miniscript. This Stack is created from the combination of ScriptSig and Witness stack.
Enums§
- Bitcoin
Key - This type is exported in elements-miniscript because it also captures information about the type of Extension. For rust-miniscript, this is not an issue because there are no extensions. Internally used enum for different types of bitcoin keys Even though we implement MiniscriptKey for BitcoinKey, we make sure that there are little mis-use
- Element
- Definition of Stack Element of the Stack used for interpretation of Miniscript.
- Error
- Detailed Error type for Interpreter
- Hash
Lock Type - Type of HashLock used for SatisfiedConstraint structure
- KeySig
Pair - A type for representing signatures supported as of bitcoin core 22.0
- Satisfied
Constraint - A satisfied Miniscript condition (Signature, Hashlock, Timelock) ’intp represents the lifetime of descriptor and `stack represents the lifetime of witness