Module sapio_ctv_emulator_trait::emulator
source · Expand description
definitions of emulator traits required to use as a trait object in low-level libraries.
Structs
- a type tag that can be tossed inside an Arc to get CTV
Enums
- Errors that an emulator might throw
Traits
CTVEmulator
trait is used to make the method in which CheckTemplateVerify is stubbed out with.
Type Aliases
- Concrete Instantiation of Miniscript Policy. Because we need to be able to generate exact transactions, we only work with
bitcoin::PublicKey
types. - A wrapper for an optional internal emulator trait object. If no emulator is provided, then it defaults to using actual CheckTemplateVerify Clauses.