[][src]Module miniscript::interpreter

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

SatisfiedConstraint

A satisfied Miniscript condition (Signature, Hashlock, Timelock) 'intp represents the lifetime of descriptor and `stack represents the lifetime of witness