Module miniscript::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
Modules
- Concrete Policies
- Abstract Policies
Enums
- Error occurring during lifting.
Traits
- Trait describing script representations which can be lifted into an abstract policy, by discarding information.