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

Cache invalid txns #6542

Merged
merged 89 commits into from
Feb 14, 2024
Merged

Cache invalid txns #6542

merged 89 commits into from
Feb 14, 2024

Conversation

emhane
Copy link
Member

@emhane emhane commented Feb 10, 2024

Closes #6350.

Removes transactions also from TransactionFetcher on_bad_import. On checking for vacant entry in pool imports or tx fetcher hashes, checks if tx is actually new by checking if it's in bad_imports cache already.

emhane added 30 commits January 31, 2024 23:51
@emhane emhane changed the base branch from main to emhane/speed-up-request-buffered-hashes February 10, 2024 22:31
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.

nice, this is great!

lgtm

@mattsse mattsse added C-perf A change motivated by improving speed, memory usage or disk footprint A-tx-pool Related to the transaction mempool labels Feb 11, 2024
Base automatically changed from emhane/speed-up-request-buffered-hashes to main February 13, 2024 19:08
@mattsse
Copy link
Collaborator

mattsse commented Feb 13, 2024

can be closed @emhane ?

@emhane
Copy link
Member Author

emhane commented Feb 14, 2024

can be closed @emhane ?

nope will fix conflicts and merge

@emhane emhane enabled auto-merge February 14, 2024 17:17
@emhane emhane added this pull request to the merge queue Feb 14, 2024
Merged via the queue into main with commit 4c40f31 Feb 14, 2024
29 checks passed
@emhane emhane deleted the emhane/cache-invalid-txns branch February 14, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tx-pool Related to the transaction mempool C-perf A change motivated by improving speed, memory usage or disk footprint
Projects
None yet
3 participants