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

More robust guard node selection #1156

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

msgmaxim
Copy link

@msgmaxim msgmaxim commented Jun 4, 2020

This could get stuck in an infinite loop if we filter out all but one guard node from the database. The fix is to check if we have more than one, and select new guard nodes otherwise. For simplicity we throw away the one node, but (as future work) we probably want to keep it.

@msgmaxim msgmaxim merged commit 149f179 into oxen-io:clearnet Jun 4, 2020
@msgmaxim msgmaxim deleted the fix-guard-selection branch July 7, 2020 06:24
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.

None yet

2 participants