-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: ensure existing p2p connection is removed before reconnecting (#…
…4045) * refactor: simplify initial connection to peers `peer_infos` has the most up-to-date info on current nodes, and can't contain duplicates, so we use that instead of maintaining a separate list of peers to connect to. * fix: allow overwriting existing p2p connection * chore: more accurate comment * refactor: send_and_receive helper in p2p tests * chore: use different ports in p2p tests
- Loading branch information
Showing
2 changed files
with
88 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters