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 2022-06-29 17:51:39 +02:00
parent b1ba3ed155
commit 475aae846e
3 changed files with 3 additions and 3 deletions

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

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",
]]

View File

@ -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