aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_nulldummy.py
diff options
context:
space:
mode:
authorKiminuo <kiminuo@protonmail.com>2021-05-17 16:38:02 +0200
committerKiminuo <kiminuo@protonmail.com>2021-05-21 14:33:40 +0200
commit525448df9dc2ab6b7e960ff138956ae3e2efdf60 (patch)
tree562d16a81bfdb229a10d8daf0dd5527ade965a1d /test/functional/feature_nulldummy.py
parent1ed859e90e18384376e3a1ff0cb76f3e9ab11c2d (diff)
downloadbitcoin-525448df9dc2ab6b7e960ff138956ae3e2efdf60.tar.xz
Move COINBASE_MATURITY from `feature_nulldummy` test to `blocktools`.
Diffstat (limited to 'test/functional/feature_nulldummy.py')
-rwxr-xr-xtest/functional/feature_nulldummy.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/functional/feature_nulldummy.py b/test/functional/feature_nulldummy.py
index c7981d31dc..02e387c7ee 100755
--- a/test/functional/feature_nulldummy.py
+++ b/test/functional/feature_nulldummy.py
@@ -14,13 +14,18 @@ Generate COINBASE_MATURITY (CB) more blocks to ensure the coinbases are mature.
"""
import time
-from test_framework.blocktools import NORMAL_GBT_REQUEST_PARAMS, create_block, create_transaction, add_witness_commitment
+from test_framework.blocktools import (
+ COINBASE_MATURITY,
+ NORMAL_GBT_REQUEST_PARAMS,
+ add_witness_commitment,
+ create_block,
+ create_transaction,
+)
from test_framework.messages import CTransaction
from test_framework.script import CScript
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import assert_equal, assert_raises_rpc_error
-COINBASE_MATURITY = 100
NULLDUMMY_ERROR = "non-mandatory-script-verify-flag (Dummy CHECKMULTISIG argument must be zero)"
def trueDummy(tx):