-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat(mempool): mempool transaction limits, saving to db and continue block prod from pending block #372
Conversation
Added:
|
This is quite a large PR. Can it not be broken down, especially if there's two features? |
i am thinking about it I believe if i were to split this pr in 2 or 3, one of these pr would necessarily still have >50 files changed.. that would be the one fixing saving the txs to the db, it's kind of a pain to split that because it touches all of the mempool crate, adds a db columns, and refactors all of the to_blockifier stuff |
the mempool limits and continue block prod from pending block should only change a few files really, it's the mempool saving that's making it complex |
@shamsasari i did the fixes you mentioned, except the splitting the pr one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minute points might need changing. This is really cool work! (Also please for the love of god and everything dear do not force push, I don't want to have to sift through all these files again next time I review 😅 )
crates/primitives/transactions/src/broadcasted_to_blockifier.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good! Great work 🔥
c5c2729
to
d0b0ec8
Compare
Pull Request type
Add limits to the mempool:
fixes #373