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

[EpochSync] Better generation of EpochSyncInfo::all_block_hashes #10082

Open
Tracked by #9581
posvyatokum opened this issue Nov 2, 2023 · 0 comments
Open
Tracked by #9581

[EpochSync] Better generation of EpochSyncInfo::all_block_hashes #10082

posvyatokum opened this issue Nov 2, 2023 · 0 comments
Assignees
Labels
Node Node team

Comments

@posvyatokum
Copy link
Member

In #10081 vector of all epoch block hashes is generated at the end of the epoch by iterating through BlockInfo column.
This may prove to be too big of a delay for block production.
Alternative solution is to keep list of block hashes in memory while keeping up with the network. This solution is not robust to restarts during the epoch, but it is still better than nothing.

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

No branches or pull requests

1 participant