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

Add mempool persistence logic using Redis #13

Closed
kristofgazso opened this issue May 14, 2023 · 5 comments
Closed

Add mempool persistence logic using Redis #13

kristofgazso opened this issue May 14, 2023 · 5 comments

Comments

@kristofgazso
Copy link
Contributor

NOTE: Lower priority

Currently we don't persist incoming UserOperations in a mempool, and send them straight to be included on-chain. This is not a big problem right now because there isn't enough volume on-chain to justify waiting for multiple UserOperations until submission for inclusion, but this is required to be compliant with the spec.

Let's create a persistent mempool using Redis with ioredis

@kanthgithub
Copy link

can this be done via rocksdb where its key-value pair?
thinking about redis vs rocksdb terms of horizontal scalability

@plusminushalf
Copy link
Contributor

@kanthgithub
Copy link

@mouseless-eth will be picking this up if this is still relevant change to be done
i was trying to run bundler locally with anvil

@defistar
Copy link

@mouseless-eth is this still a priority item to be picked up? i have some time this & next week and can pick this up if this is needed

@mouseless0x
Copy link
Member

This issue is still relevant and a feature that we will most likely implement in the future, let me know if anyone would like to give it a go. Happy to discuss further in dms at t.me/mouseless

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

No branches or pull requests

5 participants