mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-27 20:31:44 +02:00
Using disconnect_p2ps instead of peer_disconnect makes the node wait for the disconnect to complete. As a result, we can reuse p2p_idx=0 in the add_outbound_p2p_connection calls.