-
Notifications
You must be signed in to change notification settings - Fork 9
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
Performance: Store packed block in block_state #1062
Labels
Milestone
Comments
Related to #612 (comment) |
heifner
added a commit
that referenced
this issue
Feb 5, 2025
…ock was the correct block id. Not used, so just removed it.
heifner
added a commit
that referenced
this issue
Feb 5, 2025
…block so it does not need to be re-packed when needed for the block log or for P2P. Refactor signed_block construction so that it is harder to use incorrectly. It is necessary to always store the packed block in case it is needed. Specialize signed_block unpack so that it always fills in the packed_block of signed_block.
heifner
added a commit
that referenced
this issue
Feb 5, 2025
heifner
added a commit
that referenced
this issue
Feb 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
packed_transaction
stores both the packed and unpacked transaction for quick access to both forms. The same could be done forblock_state
for theblock
.One area this would help is: #1061 (comment)
Also would make sending out the packed block to
net_plugin
quicker.The text was updated successfully, but these errors were encountered: