-
Notifications
You must be signed in to change notification settings - Fork 72
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
Second mempool, small refactoring #929
Second mempool, small refactoring #929
Conversation
All logic remains unchanged, this commit only moves code around.
Codecov Report
@@ Coverage Diff @@
## viquezcl/second_mempool #929 +/- ##
===========================================================
- Coverage 64.31% 64.24% -0.08%
===========================================================
Files 357 359 +2
Lines 42329 42257 -72
===========================================================
- Hits 27222 27146 -76
- Misses 15107 15111 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
* Move some structs to their own modules All logic remains unchanged, this commit only moves code around. * Only use a single MempoolExecutor by using generic Topic * Add private fn start_executor and reuse where applicable * Move expired_transactions function to MempoolState
* Move some structs to their own modules All logic remains unchanged, this commit only moves code around. * Only use a single MempoolExecutor by using generic Topic * Add private fn start_executor and reuse where applicable * Move expired_transactions function to MempoolState
* Move some structs to their own modules All logic remains unchanged, this commit only moves code around. * Only use a single MempoolExecutor by using generic Topic * Add private fn start_executor and reuse where applicable * Move expired_transactions function to MempoolState
* Move some structs to their own modules All logic remains unchanged, this commit only moves code around. * Only use a single MempoolExecutor by using generic Topic * Add private fn start_executor and reuse where applicable * Move expired_transactions function to MempoolState
MempoolState
andMempoolTransactions
alongside their additional types to their own filesMempoolExecutor
andControlMempoolExecutor
into a singleMempoolExecutor
struct that is instantiated two timesThe first commit moving the code does not change any logic for an easier reviewing process.