[][src]Module miniscript::policy

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.

Enums

AbstractPolicy

An "abstract" script policy that does not distinguish between functionally equivalent things. Designed to be filterable and analyzable, and to be created from either concrete Policys or even-concreter Miniscripts.

Policy

Script descriptor