Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864922
D14411.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
843 B
Subscribers
None
D14411.id.diff
View Options
diff --git a/test/functional/p2p_inv_download.py b/test/functional/p2p_inv_download.py
--- a/test/functional/p2p_inv_download.py
+++ b/test/functional/p2p_inv_download.py
@@ -199,7 +199,6 @@
p.send_and_ping(msg)
self.log.info("Put the tx in node 0's mempool")
- self.nodes[0].sendrawtransaction(tx)
# node1 is an inbound peer for node0, so the tx relay is delayed by a
# duration calculated using a poisson's law with a 5s average time.
@@ -209,6 +208,7 @@
with self.nodes[1].assert_debug_log(
[f"got inv: tx {uint256_hex(txid)} new peer=0"]
):
+ self.nodes[0].sendrawtransaction(tx)
self.nodes[0].setmocktime(int(time.time()) + UNCONDITIONAL_RELAY_DELAY)
# Since node 1 is connected outbound to an honest peer (node 0), it
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 23:13 (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5866140
Default Alt Text
D14411.id.diff (843 B)
Attached To
D14411: Fix a potential race in p2p_inv_download
Event Timeline
Log In to Comment