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

Split insert block function #10762

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

elijahhampton
Copy link
Contributor

@elijahhampton elijahhampton commented Sep 7, 2024

Creates two functions "insert_block_additional_data" and "insert_block_header_and_transaction_data" to split insert_block.

Fixes #9959

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo this makes sense, wdyt @Rjected

could you please undo the additional ;?

Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! I just have a few questions

@elijahhampton
Copy link
Contributor Author

elijahhampton commented Oct 14, 2024

@mattsse @Rjected Are there other changes you would like to see for this PR?

Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elijahhampton sorry for not getting back to the review in a timely manner, this looks good to me! Should just need a rebase to solve merge conflicts

@elijahhampton elijahhampton force-pushed the elijah/split-insert-block-function branch from 1c5a131 to 741268d Compare October 25, 2024 23:16
@elijahhampton
Copy link
Contributor Author

@elijahhampton sorry for not getting back to the review in a timely manner, this looks good to me! Should just need a rebase to solve merge conflicts

Sweet. Good to go.

@Rjected Rjected force-pushed the elijah/split-insert-block-function branch from e43ab76 to 6789925 Compare November 12, 2024 02:16
@Rjected Rjected force-pushed the elijah/split-insert-block-function branch from 6789925 to 3edc3cc Compare November 12, 2024 02:44
@Rjected
Copy link
Member

Rjected commented Nov 12, 2024

just trying to make sure we can merge this - I accidentally re-introduced the methods that were removed from #12367, so we just need to use the traits for those again

@Rjected Rjected force-pushed the elijah/split-insert-block-function branch 4 times, most recently from 220068d to 22e71e2 Compare November 12, 2024 20:00
@Rjected Rjected force-pushed the elijah/split-insert-block-function branch from 22e71e2 to 590cd5a Compare November 12, 2024 20:05
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.

split DatabaseProvider::insert_block to isolate transaction-specific writing
3 participants