diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2018-10-08 04:56:39 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2018-11-27 17:53:53 -0500 |
commit | 59e387705c7e55ec40400301346354fa2d0c613f (patch) | |
tree | 612d1ebcc06d97f54f5cc8e3b609f8812a1670ef /test/functional/test_framework | |
parent | a4eaaa6ac53606a1533b56050af77961d8c27dc7 (diff) |
test: add invalid tx templates for use in functional tests
Add templates for easily constructing different kinds of invalid
transactions and use them in feature_block and p2p_invalid_tx.
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/blocktools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/test_framework/blocktools.py b/test/functional/test_framework/blocktools.py index 81cce1167b..7679ea5398 100644 --- a/test/functional/test_framework/blocktools.py +++ b/test/functional/test_framework/blocktools.py @@ -41,6 +41,8 @@ from .script import ( from .util import assert_equal from io import BytesIO +MAX_BLOCK_SIGOPS = 20000 + # From BIP141 WITNESS_COMMITMENT_HEADER = b"\xaa\x21\xa9\xed" |