Skip to content

Commit ac213e7

Browse files
benmaguggero
andcommitted
descriptors: add unit tests and test vectors for miniscript
This commit adds test vectors taken from https://github.com/rust-bitcoin/rust-miniscript/blob/59ad2ed/src/miniscript/ms_tests.rs to the miniscript implementation. Co-authored-by: Oli <gugger@gmail.com>
1 parent bf5ebc5 commit ac213e7

23 files changed

Lines changed: 78046 additions & 3 deletions

descriptors/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ go 1.25.0
44

55
require (
66
github.com/btcsuite/btcd/address/v2 v2.0.0
7+
github.com/btcsuite/btcd/btcec/v2 v2.5.0
8+
github.com/btcsuite/btcd/chaincfg/v2 v2.0.0
9+
github.com/btcsuite/btcd/chainhash/v2 v2.0.0
710
github.com/btcsuite/btcd/txscript/v2 v2.0.0
811
github.com/btcsuite/btcd/wire/v2 v2.0.0
912
github.com/stretchr/testify v1.10.0
1013
)
1114

1215
require (
13-
github.com/btcsuite/btcd/btcec/v2 v2.5.0 // indirect
14-
github.com/btcsuite/btcd/chaincfg/v2 v2.0.0 // indirect
15-
github.com/btcsuite/btcd/chainhash/v2 v2.0.0 // indirect
1616
github.com/btcsuite/btclog v1.0.0 // indirect
1717
github.com/davecgh/go-spew v1.1.1 // indirect
1818
github.com/decred/dcrd/crypto/blake256 v1.1.0 // indirect

0 commit comments

Comments
 (0)