Changeset View
Changeset View
Standalone View
Standalone View
test/functional/mining_prioritisetransaction.py
Show All 17 Lines | |||||
class PrioritiseTransactionTest(BitcoinTestFramework): | class PrioritiseTransactionTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.extra_args = [["-printpriority=1"], ["-printpriority=1"]] | self.extra_args = [["-printpriority=1"], ["-printpriority=1"]] | ||||
def skip_test_if_missing_module(self): | |||||
self.skip_if_no_wallet() | |||||
def run_test(self): | def run_test(self): | ||||
self.relayfee = self.nodes[0].getnetworkinfo()['relayfee'] | self.relayfee = self.nodes[0].getnetworkinfo()['relayfee'] | ||||
utxo_count = 90 | utxo_count = 90 | ||||
utxos = create_confirmed_utxos(self.nodes[0], utxo_count) | utxos = create_confirmed_utxos(self.nodes[0], utxo_count) | ||||
txids = [] | txids = [] | ||||
# Create 3 batches of transactions at 3 different fee rate levels | # Create 3 batches of transactions at 3 different fee rate levels | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |