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

optimization: txpool pending cache improvement #177

Merged

Conversation

andyzhang2023
Copy link
Contributor

Description

Now, pending transactions are ready when the miner needs them: transferred to LazyTransaction and filtered.
The filtered transactions are copied from original resources and put into an individual map, to save the cost of LazyTransaction transformer and filtering.

@owen-reorg owen-reorg changed the title txpool pending cache improvement optimization: txpool pending cache improvement Oct 10, 2024
@owen-reorg owen-reorg merged commit 4ccfc35 into bnb-chain:develop Oct 10, 2024
1 check passed
owen-reorg added a commit that referenced this pull request Oct 14, 2024
Co-authored-by: Owen <103096885+owen-reorg@users.noreply.github.com>
Co-authored-by: andyzhang2023 <andyzhang2023@gmail.com>
This was referenced Oct 14, 2024
welkin22 added a commit to welkin22/op-geth that referenced this pull request Oct 28, 2024
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.

3 participants