v30.3-roots.1 · Commit 8: [PATCH 08/68] ci: restore Roots assurance on Core 30.3 interfaces
test/functional/p2p_tx_download.py
Before: test/functional/p2p_tx_download.py · After: test/functional/p2p_tx_download.py
File metadata
index 3da781dee2ef029f681f03284b16dea6fd6cf8d9..249dccf28bdf561b4de64ce4a4da2fa7733f7a57 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= [['-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")
|