Module policy

Source
Expand description

Script Policies

Tools for representing Bitcoin scriptpubkeys as abstract spending policies. These may be compiled to Miniscript, which contains extra information to describe the exact representation as Bitcoin script.

The format represents EC public keys abstractly to allow wallets to replace these with BIP32 paths, pay-to-contract instructions, etc.

Re-exports§

pub use self::concrete::Policy as Concrete;
pub use self::semantic::Policy as Semantic;

Modules§

concrete
Concrete Policies
semantic
Abstract Policies

Enums§

LiftError
Error occurring during lifting.

Traits§

Liftable
Trait describing script representations which can be lifted into an abstract policy, by discarding information.