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

improve cut query flow #85

Merged
merged 4 commits into from Apr 1, 2019
Merged

improve cut query flow #85

merged 4 commits into from Apr 1, 2019

Conversation

larskuhtz
Copy link
Contributor

@larskuhtz larskuhtz commented Mar 29, 2019

  • query payload concurrently with parent headers
  • don't pursue further queries from origin if it failed once

The latter may seem a little too strict. However, searching directly from the origin is meant to optimize latencies for querying prerequisites of newly mined blocks. Queries of larger missing forks/branches should better be distributed over the P2P network. The P2P network should ensure that connections are reused and new connection aren't open too often.

default.nix Show resolved Hide resolved
Copy link
Contributor

@fosskers fosskers left a comment

Choose a reason for hiding this comment

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

Should be fine, once rebased onto master.

@larskuhtz larskuhtz merged commit c618fad into master Apr 1, 2019
@larskuhtz larskuhtz deleted the lars/improve-cut-query-flow branch April 1, 2019 22:41
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

3 participants