Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/pork-swarm-follow-up-2382 #2384

Merged
merged 4 commits into from
Mar 25, 2019
Merged

Conversation

rosalinekarr
Copy link
Contributor

Problem

go-filecoin swarm connect stops after the first address to fail rather than trying other addresses.

Solution

Change swarm connect to return a channel with errors and peer ids for each attempted connection.

Resolves #2382

@rosalinekarr rosalinekarr self-assigned this Mar 21, 2019
@rosalinekarr rosalinekarr changed the title Changed SwarmConnect to return a channel instead of failing fast Feat/pork-swarm-follow-up-2382 Mar 21, 2019
net/network.go Outdated Show resolved Hide resolved
@rosalinekarr rosalinekarr force-pushed the feat/pork-swarm-follow-up-2382 branch from 02ae226 to b559c6c Compare March 22, 2019 14:08
Copy link
Contributor

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

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

Approved conditioned on updating the comment above network.Connect.

net/network.go Outdated Show resolved Hide resolved
net/network.go Outdated Show resolved Hide resolved
@rosalinekarr rosalinekarr force-pushed the feat/pork-swarm-follow-up-2382 branch from b559c6c to 4657bd6 Compare March 22, 2019 16:08
@rosalinekarr rosalinekarr merged commit d3fbd0d into master Mar 25, 2019
@rosalinekarr rosalinekarr deleted the feat/pork-swarm-follow-up-2382 branch March 25, 2019 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants