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

nano::system::add_node reliability improvements #3877

Merged

Conversation

pwojcikdev
Copy link
Contributor

This PR modifies nano::system::add_node function to use poll_until_true with timeout instead of doing it the current hacky way. It also adds logic to ensure nodes properly exchanged keepalives.

Small improvement to system::add_node, use `poll_until_true` instead of explicit loops

This gives us ability to set timeout without resorting to counting iterations
@pwojcikdev pwojcikdev merged commit 652b921 into nanocurrency:develop Jul 26, 2022
@pwojcikdev pwojcikdev deleted the prs/test-system-improvements branch July 26, 2022 15:06
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