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

Update mempool asynchronously when processing a new block #2157

Open
kushti opened this issue May 2, 2024 · 3 comments
Open

Update mempool asynchronously when processing a new block #2157

kushti opened this issue May 2, 2024 · 3 comments

Comments

@kushti
Copy link
Member

kushti commented May 2, 2024

Current mempool update logic in ErgoNodeViewHolder :

                  val newMemPool = if (almostSynced) {
                    updateMemPool(progressInfo.toRemove, blocksApplied, memoryPool())
                  } else {
                    memoryPool()
                  }

and it can be called asynchronously

@anujmax
Copy link

anujmax commented May 9, 2024

hi @kushti , is this issue still relevant? Can I work on this?

@kushti
Copy link
Member Author

kushti commented May 10, 2024

hi @kushti , is this issue still relevant? Can I work on this?

Hi, sure, please take it!

@anujmax
Copy link

anujmax commented Jun 12, 2024

hi @kushti, sorry I got busy with other projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants