-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Audit v0.47 mempool #14259
Comments
My audit is done, have some small nits only. Waiting for 2nd reviewer to share notes. |
I had audited the sender nonce mempool only, before the priority+nonce mempool got merged. Going to audit the priority one too. |
I audited the priority+nonce mempool too, it was not straightforward to read the code though, so might have missed some stuff. I did however review the spec and the tests more thoroughly, and those lgtm. For the second reviewer, here are my notes: https://hackmd.io/_Aj3jciNTRiNVwLxcZ5K2A |
This was also my sentiment and hesitation with that implementation -- it's just too difficult to understand. I really hope that implementation is sound and doesn't need to change much in the future, because it's gnarly. cc @kocubinski |
It's not trivial, partial ordering and graph traversal are hard problems. However, this implementation is (as far as I can tell) the simplest one possible satisfying the the spec and ordering scheme described (at a higher level) in ADR-60. Definitely open to suggestions for improvement. I consider it a win to provide a mempool supporting fee based tx priorities. |
since we have a no op mempool by default, im less concerned about the others, but the others have been extensively reviewed |
Audit changes mempool added in v0.47
The text was updated successfully, but these errors were encountered: