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

[Enhancement]: Announced blocks parallel download #2304

Open
kamilsa opened this issue Dec 4, 2024 · 0 comments · May be fixed by #2320
Open

[Enhancement]: Announced blocks parallel download #2304

kamilsa opened this issue Dec 4, 2024 · 0 comments · May be fixed by #2320
Assignees

Comments

@kamilsa
Copy link
Contributor

kamilsa commented Dec 4, 2024

Description

Once block announcements is received request the block from multiple peers

Motivation

Currently KAGOME requests block from the peer it received block announce from. To speed up block receiving we could send multiple block requests to different peers.

Additional context

Amount of peers we are requesting blocks should be configured via the flag (taken from Polkadot-sdk):

      --max-parallel-downloads <COUNT>
          Maximum number of peers from which to ask for the same blocks in parallel.

          This allows downloading announced blocks from multiple peers. Decrease to save traffic and risk
          increased latency.

          [default: 5]

Are you planning to do it yourself in a pull request ?

Maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants