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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
test/functional/p2p_tx_download.py
CHANGED
|
@@ -68,7 +68,12 @@ class ConnectionType(Enum):
|
|
| 68 |
class TxDownloadTest(BitcoinTestFramework):
|
| 69 |
def set_test_params(self):
|
| 70 |
self.num_nodes = 2
|
| 71 |
-
self.extra_args= [['-datacarriersize=100000', '-maxmempool=5', '-persistmempool=0']] * self.num_nodes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
|
| 73 |
def test_tx_requests(self):
|
| 74 |
self.log.info("Test that we request transactions from all our peers, eventually")
|
|
|
|
| 68 |
class TxDownloadTest(BitcoinTestFramework):
|
| 69 |
def set_test_params(self):
|
| 70 |
self.num_nodes = 2
|
| 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
|
| 77 |
|
| 78 |
def test_tx_requests(self):
|
| 79 |
self.log.info("Test that we request transactions from all our peers, eventually")
|