Module 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§

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

Enums§

Error
Detailed Error type for Interpreter
HashLockType
Type of HashLock used for SatisfiedConstraint structure
KeySigPair
A type for representing signatures supported as of bitcoin core 22.0
SatisfiedConstraint
A satisfied Miniscript condition (Signature, Hashlock, Timelock) ’intp represents the lifetime of descriptor and `stack represents the lifetime of witness