mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 10:12:48 +01:00
test: Remove unused connect_nodes_bi
This commit is contained in:
@@ -377,10 +377,6 @@ def connect_nodes(from_connection, node_num):
|
|||||||
# with transaction relaying
|
# with transaction relaying
|
||||||
wait_until(lambda: all(peer['version'] != 0 for peer in from_connection.getpeerinfo()))
|
wait_until(lambda: all(peer['version'] != 0 for peer in from_connection.getpeerinfo()))
|
||||||
|
|
||||||
def connect_nodes_bi(nodes, a, b):
|
|
||||||
connect_nodes(nodes[a], b)
|
|
||||||
connect_nodes(nodes[b], a)
|
|
||||||
|
|
||||||
def sync_blocks(rpc_connections, *, wait=1, timeout=60):
|
def sync_blocks(rpc_connections, *, wait=1, timeout=60):
|
||||||
"""
|
"""
|
||||||
Wait until everybody has the same tip.
|
Wait until everybody has the same tip.
|
||||||
|
|||||||
Reference in New Issue
Block a user