-
Notifications
You must be signed in to change notification settings - Fork 11
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
Optimize WalletJob's StallMempool #11
Comments
What's the purpose of mempool? Just storing unconfirmed trx associated to any tracked addresses right? |
Answered here: #10 (comment) The short answer is no: the MemPoolJob keeps all tx hashes up to date and raises an event when a new transaction arrives (not only tx hash, but full transaction). Also it does not track the transactions, the WalletJob subscribes to the MemPoolJob's transactions and it calls the tracker to process that transaction, if it needs to be tracked or not. Then the tracker starts tracking it or not. |
After: #6
Related: #10
It's not done in the best possible way, we could gain a second or two refactoring it.
The text was updated successfully, but these errors were encountered: