mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 21:22:46 +02:00
test: simplify tests by using the pre-mined chain
This commit is contained in:
@ -16,7 +16,6 @@ from collections import OrderedDict
|
||||
from decimal import Decimal
|
||||
from itertools import product
|
||||
|
||||
from test_framework.blocktools import COINBASE_MATURITY
|
||||
from test_framework.messages import (
|
||||
MAX_BIP125_RBF_SEQUENCE,
|
||||
CTransaction,
|
||||
@ -59,7 +58,6 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||
self.add_wallet_options(parser, descriptors=False)
|
||||
|
||||
def set_test_params(self):
|
||||
self.setup_clean_chain = True
|
||||
self.num_nodes = 3
|
||||
self.extra_args = [
|
||||
["-txindex"],
|
||||
@ -77,9 +75,6 @@ class RawTransactionsTest(BitcoinTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
self.wallet = MiniWallet(self.nodes[0])
|
||||
self.log.info("Prepare some coins for multiple *rawtransaction commands")
|
||||
self.generate(self.wallet, 10)
|
||||
self.generate(self.nodes[0], COINBASE_MATURITY + 1)
|
||||
|
||||
self.getrawtransaction_tests()
|
||||
self.getrawtransaction_verbosity_tests()
|
||||
|
Reference in New Issue
Block a user