btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.1k stars 2.31k forks source link

Add miniscript implementation #1987

Open guggero opened 1 year ago

guggero commented 1 year ago

Adds the Golang miniscript implementation authored by @benma in https://github.com/benma/miniscript-go to txscript/miniscript (as requested by the author, see https://github.com/btcsuite/btcd/issues/1986).

TODOs:

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 5099410036

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report. To ensure accuracy in future PRs, please see these guidelines. A quick fix for this PR: rebase it; your next report should be accurate.


Changes Missing Coverage Covered Lines Changed/Added Lines %
txscript/miniscript/opcount.go 157 160 98.13%
txscript/miniscript/satisfactions.go 278 456 60.96%
txscript/miniscript/miniscript.go 1047 1350 77.56%
<!-- Total: 1482 1966 75.38% -->
Files with Coverage Reduction New Missed Lines %
peer/peer.go 7 73.2%
<!-- Total: 7 -->
Totals Coverage Status
Change from base Build 5075515644: 0.8%
Covered Lines: 28149
Relevant Lines: 50212

💛 - Coveralls