v29.4-roots.3 · Commit 8: [PATCH 08/30] ci: restore assurance and isolate Core fixtures
test/functional/p2p_tx_download.py
Before: test/functional/p2p_tx_download.py · After: test/functional/p2p_tx_download.py
File metadata
index a5e3905990cad7a67d3160f305792cef4064e376..a343adea4b0fb454950ac146e821613b21b5a91e 100755
Download original patch · Release notes
Diff rows 1–13 of 13. 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/p2p_tx_download.py
CHANGED
|
@@ -68,7 +68,12 @@ class ConnectionType(Enum):
|
|
|
68
68
|
class TxDownloadTest(BitcoinTestFramework):
|
|
69
69
|
def set_test_params(self):
|
|
70
70
|
self.num_nodes = 2
|
|
71
|
-
self.extra_args= [['-datacarriersize=100000', '-maxmempool=5', '-persistmempool=0']] * self.num_nodes
|
|
71
|
+
self.extra_args = [[
|
|
72
|
+
'-datacarriersize=100000',
|
|
73
|
+
'-maxscriptsize=100000', # Permit synthetic mempool-filling data carriers.
|
|
74
|
+
'-maxmempool=5',
|
|
75
|
+
'-persistmempool=0',
|
|
76
|
+
]] * self.num_nodes
|
|
72
77
|
|
|
73
78
|
def test_tx_requests(self):
|
|
74
79
|
self.log.info("Test that we request transactions from all our peers, eventually")
|