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

Thv/batch request optimizations #319

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

Sword-Smith
Copy link
Member

Blocked by #318

@Sword-Smith Sword-Smith marked this pull request as draft January 10, 2025 23:05
…block

The function `block_belongs_to_canonical_chain` can be made used for
more if it does not crash when it receives an unknown block digest. This
commit ensures that it returns false in that case, and doesn't crash.
Use the newly-introduced archival block MMR to faster respond to a
request of a batch of blocks.
@Sword-Smith Sword-Smith force-pushed the thv/batch-request-optimizations branch from 8a33f0b to 10c3f3a Compare January 13, 2025 13:02
@Sword-Smith Sword-Smith merged commit 10c3f3a into master Jan 13, 2025
5 of 8 checks passed
@Sword-Smith Sword-Smith deleted the thv/batch-request-optimizations branch January 15, 2025 20:02
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.

1 participant