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

Use block download when ranking peers #3500

Merged
merged 1 commit into from
Nov 23, 2021
Merged

Use block download when ranking peers #3500

merged 1 commit into from
Nov 23, 2021

Commits on Nov 23, 2021

  1. Use block download when ranking peers

    Use both who ever gave us a header first, and who ever provided us with
    the block first when ranking peers in deadline mode. For larger blocks
    forged far away it is likely that we learned of the header
    from a node on another continent, but the node from which we first
    downloaded the block is much closer. This change gives both nodes
    credit.
    karknu committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    2d4be8c View commit details
    Browse the repository at this point in the history