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

Performance: Store packed block in block_state #1062

Open
heifner opened this issue Dec 11, 2024 · 1 comment · May be fixed by #1148
Open

Performance: Store packed block in block_state #1062

heifner opened this issue Dec 11, 2024 · 1 comment · May be fixed by #1148
Assignees
Labels
enhancement New feature or request 👍 lgtm OCI Work exclusive to OCI team

Comments

@heifner
Copy link
Member

heifner commented Dec 11, 2024

packed_transaction stores both the packed and unpacked transaction for quick access to both forms. The same could be done for block_state for the block.

One area this would help is: #1061 (comment)
Also would make sending out the packed block to net_plugin quicker.

@heifner heifner added the enhancement New feature or request label Dec 11, 2024
@enf-ci-bot enf-ci-bot moved this to Todo in Team Backlog Dec 11, 2024
@heifner heifner changed the title Store packed block in block_state Performance: Store packed block in block_state Dec 11, 2024
@bhazzard bhazzard added this to the Spring v1.1.0 Cusp milestone Dec 12, 2024
@bhazzard
Copy link

Related to #612 (comment)

@bhazzard bhazzard added 👍 lgtm and removed triage labels Dec 12, 2024
@heifner heifner added the OCI Work exclusive to OCI team label Jan 31, 2025
@heifner heifner self-assigned this Jan 31, 2025
@heifner heifner moved this from Todo to In Progress in Team Backlog Jan 31, 2025
heifner added a commit that referenced this issue Feb 5, 2025
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 heifner linked a pull request Feb 6, 2025 that will close this issue
@heifner heifner moved this from In Progress to Awaiting Review in Team Backlog Feb 6, 2025
heifner added a commit that referenced this issue Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 👍 lgtm OCI Work exclusive to OCI team
Projects
Status: Awaiting Review
Development

Successfully merging a pull request may close this issue.

3 participants