v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
test/functional/mining_prioritisetransaction.py
Before: test/functional/mining_prioritisetransaction.py · After: test/functional/mining_prioritisetransaction.py
File metadata
index 31ed6372f8f9cccf3928bd76f74d7e5078c306eb..e1b842da1b99d350a0d47ce66dd7395595cea4fc 100755
Download original patch · Release notes
Diff rows 1–15 of 15. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
test/functional/mining_prioritisetransaction.py
CHANGED
|
@@ -26,6 +26,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
|
|
|
26
26
|
def set_test_params(self):
|
|
27
27
|
self.num_nodes = 1
|
|
28
28
|
self.extra_args = [[
|
|
29
|
+
"-maxscriptsize=1000000", "-datacarriersize=1000000",
|
|
29
30
|
"-printpriority=1",
|
|
30
31
|
]] * self.num_nodes
|
|
31
32
|
self.supports_cli = False
|
|
@@ -176,7 +177,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
|
|
|
176
177
|
self.clear_prioritisation(node=self.nodes[0])
|
|
177
178
|
|
|
178
179
|
self.log.info("Test priority while txs are not in mempool")
|
|
179
|
-
self.restart_node(0, extra_args=["-nopersistmempool"])
|
|
180
|
+
self.restart_node(0, extra_args=self.extra_args[0] + ["-nopersistmempool"])
|
|
180
181
|
self.nodes[0].setmocktime(mock_time)
|
|
181
182
|
assert_equal(self.nodes[0].getmempoolinfo()["size"], 0)
|
|
182
183
|
self.nodes[0].prioritisetransaction(txid=txid_b, fee_delta=int(fee_delta_b * COIN))
|