Skip to content
Support for Miniscript and Output Descriptors for rust-bitcoin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contrib
fuzz descriptor: add a bunch of witness-size estimation functionality Apr 27, 2019
src Changed node names time -> time_e, time_t -> time, hash_t -> hash Jun 13, 2019
.gitignore initial commit Aug 16, 2018
.travis.yml
Cargo.toml
LICENSE add LICENSE, fields that crates wants Nov 13, 2018
README.md fix compilation for 1.22.0 Apr 22, 2019

README.md

Status

Miniscript

Library for handling Miniscript, which is a subset of Bitcoin Script designed to support simple and general tooling.

In particular, it supports

  • Parsing and serializing Miniscript to Script
  • Parsing and serializing Miniscript to a human-readable string format
  • Determining which public keys and hash preimages are needed to satisfy a Miniscript, at a given time
  • Filling in bitcoin::TxIn objects with satisfactions to a Miniscript, given valid signatures
  • Optimally compiling an ad-hoc "policy language" to Miniscript, with the policy flag
  • Abstracting Miniscript as an AbstractPolicy object on which some more advanced forms of analysis can be done

This library is stable enough that it will no longer publish breaking changes in minor releases. However, the library (and Miniscript itself) is still under active development and is not held to the same standards as rust-bitcoin or rust-secp256k1.

For this reason, it is not recommended to use it in production.

Minimim Compiler Version: 1.22.0

You can’t perform that action at this time.