mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
partial bitcoin#26448: fix intermittent failure in p2p_sendtxrcncl.py
contains: - 74d97531 (changes to `test_node.py`)
This commit is contained in:
parent
b7c0030d3d
commit
5bf245b4a0
@ -651,6 +651,10 @@ class TestNode():
|
|||||||
|
|
||||||
This method adds the p2p connection to the self.p2ps list and returns
|
This method adds the p2p connection to the self.p2ps list and returns
|
||||||
the connection to the caller.
|
the connection to the caller.
|
||||||
|
|
||||||
|
p2p_idx must be different for simultaneously connected peers. When reusing it for the next peer
|
||||||
|
after disconnecting the previous one, it is necessary to wait for the disconnect to finish to avoid
|
||||||
|
a race condition.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def addconnection_callback(address, port):
|
def addconnection_callback(address, port):
|
||||||
|
Loading…
Reference in New Issue
Block a user