mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 02:25:40 +01:00
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:
parent
b1ba3ed155
commit
475aae846e
@ -46,7 +46,7 @@ class MaxUploadTest(BitcoinTestFramework):
|
|||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.extra_args = [[
|
self.extra_args = [[
|
||||||
"-maxuploadtarget=800M",
|
"-maxuploadtarget=800M",
|
||||||
"-acceptnonstdtxn=1",
|
"-datacarriersize=100000",
|
||||||
]]
|
]]
|
||||||
self.supports_cli = False
|
self.supports_cli = False
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ class MempoolLimitTest(BitcoinTestFramework):
|
|||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.extra_args = [[
|
self.extra_args = [[
|
||||||
"-acceptnonstdtxn=1",
|
"-datacarriersize=100000",
|
||||||
"-maxmempool=5",
|
"-maxmempool=5",
|
||||||
"-spendzeroconfchange=0",
|
"-spendzeroconfchange=0",
|
||||||
]]
|
]]
|
||||||
|
@ -26,7 +26,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
|
|||||||
self.num_nodes = 1
|
self.num_nodes = 1
|
||||||
self.extra_args = [[
|
self.extra_args = [[
|
||||||
"-printpriority=1",
|
"-printpriority=1",
|
||||||
"-acceptnonstdtxn=1",
|
"-datacarriersize=100000",
|
||||||
]] * self.num_nodes
|
]] * self.num_nodes
|
||||||
self.supports_cli = False
|
self.supports_cli = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user