From 3c226639eb134314a0640d34e4ccb6148dbde22f Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Fri, 11 Sep 2020 14:34:24 -0700 Subject: tests: add BIP340 Schnorr signature support to test framework Add a pure Python implementation of BIP340 signing and verification, tested against the BIP's test vectors. --- test/functional/test_runner.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/functional/test_runner.py') diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index cb86305cc6..b109480a59 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -70,6 +70,7 @@ TEST_FRAMEWORK_MODULES = [ "address", "blocktools", "muhash", + "key", "script", "segwit_addr", "util", -- cgit v1.2.3 From f06e6d03452cf5e0b1a0863afb08c9e6d3ef452e Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 13 Sep 2020 22:20:17 -0700 Subject: tests: functional tests for Schnorr/Taproot/Tapscript A large functional test is added that automatically generates random transactions which exercise various aspects of the new rules, and verifies they are accepted into the mempool (when appropriate), and correctly accepted/rejected in (Python-constructed) blocks. Includes sighashing code and many tests by Johnson Lau. Includes a test by Matthew Zipkin. Includes several tests and improvements by Greg Sanders. --- test/functional/test_runner.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/functional/test_runner.py') diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index b109480a59..ed6e830bb9 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -107,6 +107,7 @@ BASE_SCRIPTS = [ 'mempool_updatefromblock.py', 'wallet_dump.py', 'wallet_listtransactions.py', + 'feature_taproot.py', # vv Tests less than 60s vv 'p2p_sendheaders.py', 'wallet_importmulti.py', -- cgit v1.2.3