Module miniscript::interpreter
source · 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
- An iterable Miniscript-structured representation of the spending of a coin
- Iterator over all the constraints satisfied by a completed scriptPubKey and witness stack
Enums
- Detailed Error type for Interpreter
- Type of HashLock used for SatisfiedConstraint structure
- A type for representing signatures supported as of bitcoin core 22.0
- A satisfied Miniscript condition (Signature, Hashlock, Timelock) ’intp represents the lifetime of descriptor and `stack represents the lifetime of witness