Skip to content

Commit 475aae8

Browse files
committed
test: pass datacarriersize option for tests using large outputs (instead of acceptnonstdtxn)
By specifying the `datacarriersize` option instead of the more generic `acceptnonstdtxn`, we can be more specific about what part of the transaction is non-standard and can be sure that all other aspects follow the standard policy.
1 parent b1ba3ed commit 475aae8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/functional/feature_maxuploadtarget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def set_test_params(self):
4646
self.num_nodes = 1
4747
self.extra_args = [[
4848
"-maxuploadtarget=800M",
49-
"-acceptnonstdtxn=1",
49+
"-datacarriersize=100000",
5050
]]
5151
self.supports_cli = False
5252

test/functional/mempool_limit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def set_test_params(self):
2323
self.setup_clean_chain = True
2424
self.num_nodes = 1
2525
self.extra_args = [[
26-
"-acceptnonstdtxn=1",
26+
"-datacarriersize=100000",
2727
"-maxmempool=5",
2828
"-spendzeroconfchange=0",
2929
]]

test/functional/mining_prioritisetransaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def set_test_params(self):
2626
self.num_nodes = 1
2727
self.extra_args = [[
2828
"-printpriority=1",
29-
"-acceptnonstdtxn=1",
29+
"-datacarriersize=100000",
3030
]] * self.num_nodes
3131
self.supports_cli = False
3232

0 commit comments

Comments
 (0)