Skip to content

Commit fde2ab1

Browse files
committed
add a test for thresh/U children from the reference impl
1 parent 3c294e0 commit fde2ab1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/ctest/test_descriptor.c

+10
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,16 @@ static const struct descriptor_test {
511511
"02d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e",
512512
"ks05yr6p"
513513
},
514+
/*
515+
* Miniscript: https://bitcoin.sipa.be/miniscript/
516+
*/
517+
{
518+
"miniscript - A 3-of-3 that turns into a 2-of-3 after 90 days",
519+
"thresh(3,pk(key_1),s:pk(key_2),s:pk(key_3),sln:older(12960))",
520+
WALLY_NETWORK_NONE, 0, 0, 0, NULL, WALLY_MINISCRIPT_ONLY,
521+
"21038bc7431d9285a064b0328b6333f3a20b86664437b6de8f4e26e6bbdee258f048ac7c2103a22745365f673e658f0d25eb0afa9aaece858c6a48dfe37a67210c2e23da8ce7ac937c2103b428da420cd337c7208ed42c5331ebb407bb59ffbe3dc27936a227c619804284ac937c63006702a032b29268935387",
522+
"2sw64huw"
523+
},
514524
/*
515525
* Miniscript: Randomly generated test set that covers the majority of type and node type combinations
516526
*/

0 commit comments

Comments
 (0)