From 4567ba034c5ae6e6cc161360f7425c9e844738f0 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 15 Sep 2020 21:00:43 -0700 Subject: tests: add generic qa-asset-based script verification unit test This adds a unit test that does generic script verification tests, with positive/negative witnesses/scriptsigs, under various flags. The test data is large (several MB) so it's stored in the qa-assets repo. --- src/test/script_tests.cpp | 135 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 132 insertions(+), 3 deletions(-) (limited to 'src/test/script_tests.cpp') diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 0830743d6..3132f440a 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -5,10 +5,12 @@ #include #include +#include #include #include #include