Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Change the way new advertised peer are connected. #158

Merged
merged 4 commits into from
Mar 20, 2024

Conversation

musitdev
Copy link
Contributor

Remove from the handshake the peer connection.
Connect to other peer when the current peer connection is done.
Connect one peer after the other.

@musitdev musitdev requested a review from tuommaki March 20, 2024 16:03
Copy link
Contributor

@tuommaki tuommaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple copy&paste mistakes. Otherwise LGTM 👍

crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
crates/node/src/networking/p2p/pea2pea.rs Outdated Show resolved Hide resolved
@musitdev musitdev merged commit ed90974 into main Mar 20, 2024
4 checks passed
@musitdev musitdev deleted the return_connected_peer branch March 20, 2024 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants