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.
This commit is contained in:
Sebastian Falbesoner committed 2022-06-29 18:05:59 +02:00
1 parent b1ba3ed155
commit 475aae846e
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ class MaxUploadTest(BitcoinTestFramework):
self.num_nodes = 1
self.extra_args = [[
"-maxuploadtarget=800M",
"-acceptnonstdtxn=1",
"-datacarriersize=100000",
]]
self.supports_cli = False
+1 -1
View File
@@ -23,7 +23,7 @@ class MempoolLimitTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 1
self.extra_args = [[
"-acceptnonstdtxn=1",
"-datacarriersize=100000",
"-maxmempool=5",
"-spendzeroconfchange=0",
]]
@@ -26,7 +26,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
self.num_nodes = 1
self.extra_args = [[
"-printpriority=1",
"-acceptnonstdtxn=1",
"-datacarriersize=100000",
]] * self.num_nodes
self.supports_cli = False