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

wait_for_min_peers should continue waiting if none connected #2326

Merged
merged 2 commits into from
Jan 10, 2019
Merged

wait_for_min_peers should continue waiting if none connected #2326

merged 2 commits into from
Jan 10, 2019

Conversation

garyyu
Copy link
Contributor

@garyyu garyyu commented Jan 10, 2019

It doesn't make sense to allow grin enter running state with 0 connected peers, better to let it wait forever here to connect peers.

@antiochp
Copy link
Member

This does not play nicely with running a node locally for testing - there are definitely times when bringing up a single node (with no peers) is useful for local dev.

It may also interact badly with some of the tests in grin_servers?

@garyyu
Copy link
Contributor Author

garyyu commented Jan 10, 2019

Yes, Travis-CI test not happy on this and failed :)
OK to close this.

@garyyu garyyu closed this Jan 10, 2019
@ignopeverell
Copy link
Contributor

You could have kept it but testing for floonet and mainnet?

@garyyu garyyu reopened this Jan 10, 2019
Copy link
Member

@antiochp antiochp left a comment

Choose a reason for hiding this comment

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

👍

@garyyu garyyu merged commit ea4407a into mimblewimble:master Jan 10, 2019
@garyyu garyyu deleted the no-peer branch January 10, 2019 13:08
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