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

Fix peer exchange handling #608

Merged
merged 2 commits into from
Dec 21, 2022

Commits on Dec 21, 2022

  1. We returned the future at the first failed peer exchange attempt whic…

    …h can lead to the situation that the get inventory request is not done because there are no peers yet connected.
    
    Now we complete the future either if all peer exchange attempts have failed or if at least one has succeeded.
    HenrikJannsen committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    fc1e632 View commit details
    Browse the repository at this point in the history
  2. Rename method to make it more clear that it is returning a boolean an…

    …d not executing peer exchange
    HenrikJannsen committed Dec 21, 2022
    Configuration menu
    Copy the full SHA
    15a4e52 View commit details
    Browse the repository at this point in the history