diff options
| author | Pieter Wuille <[email protected]> | 2020-10-30 15:51:51 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2020-10-30 15:52:38 -0700 |
| commit | 3d0556d41087f945ed0a47a5d770076ad42ce432 (patch) | |
| tree | 48ae2c4b9d384c0e2c5bc87a90a6576f7896218a | |
| parent | Only relay Taproot spends if next block has it active (diff) | |
| download | discoin-3d0556d41087f945ed0a47a5d770076ad42ce432.tar.xz discoin-3d0556d41087f945ed0a47a5d770076ad42ce432.zip | |
Increase feature_taproot inactive test coverage
| -rwxr-xr-x | test/functional/feature_taproot.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/functional/feature_taproot.py b/test/functional/feature_taproot.py index 1d2e346aa..3e47e24a3 100755 --- a/test/functional/feature_taproot.py +++ b/test/functional/feature_taproot.py @@ -1451,7 +1451,11 @@ class TaprootTest(BitcoinTestFramework): # Pre-taproot activation tests. self.log.info("Pre-activation tests...") - self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1, 2, 2, 2, 2, 3]) + # Run each test twice; once in isolation, and once combined with others. Testing in isolation + # means that the standardness is verified in every test (as combined transactions are only standard + # when all their inputs are standard). + self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[1]) + self.test_spenders(self.nodes[0], spenders_taproot_inactive(), input_counts=[2, 3]) if __name__ == '__main__': |