-
Notifications
You must be signed in to change notification settings - Fork 127
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
Refractor update_mempool module in JDS mempool module for simplified async flow #833
Refractor update_mempool module in JDS mempool module for simplified async flow #833
Conversation
@GitGab19 I have re-reviewed and made some changes here, please I am requesting a review here and also to point out that the MG test is still failing |
I will do it by the next week! |
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.
This is a good PR
I would be good to have the minor changes that I left as comments
@lorbax i have been able to manage the unhappy paths in the the update_mempool function, please I request your feedback on this before I pick up the next issue. Thanks |
@NonsoAmadi10 can you rebase? |
Alright I am on it |
@lorbax once you do the final review here, are you able to approve? |
e1ef7b0
to
e3d8197
Compare
This PR needs to be rebased on dev |
10dce88
to
877f265
Compare
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.
LGTM.
@lorbax could you double check when you get a chance pls?
@NonsoAmadi10 you must also remove the TokioJoin variant of JdsMempoolError |
The right pattern to follow when we implement a variant that is only a container for an error that come from a library is to implement |
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.
Run local TP, pool, jds, jdc, tproxy and cpuminer without issues.
The code looks good to me.
0c45c76
to
4f8bdf1
Compare
What does this PR do?
Closes #784