-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Trusted Auctioneer: add event which is triggered when the mempool is cleared #9
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
Merged
bharath-123
merged 80 commits into
bharath/clear-mempool
from
bharath/add-mempool-clearing-event
Jan 13, 2025
Merged
feat: Trusted Auctioneer: add event which is triggered when the mempool is cleared #9
bharath-123
merged 80 commits into
bharath/clear-mempool
from
bharath/add-mempool-clearing-event
Jan 13, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8308b34 to
b1190a5
Compare
67e8bb3 to
7428c4f
Compare
b1190a5 to
8ba16ed
Compare
7428c4f to
14d50b2
Compare
8ba16ed to
9b4fc78
Compare
14d50b2 to
9d5e8a9
Compare
9b4fc78 to
31aa2f0
Compare
c39ff65 to
f13364b
Compare
f13364b to
0be6ac1
Compare
d623d80 to
bcac6c2
Compare
0be6ac1 to
59f90a7
Compare
bcac6c2 to
64907bb
Compare
59f90a7 to
5d40100
Compare
64907bb to
4d59dca
Compare
5d40100 to
40652a0
Compare
bharath-123
commented
Nov 5, 2024
core/txpool/legacypool/legacypool.go
Outdated
Comment on lines
1797
to
1800
| pool.mempoolClearFeed.Send(core.NewMempoolCleared{ | ||
| NewHead: newHead, | ||
| }) | ||
|
|
Contributor
Author
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 has to be at the end of runReorg so that this doesn't run with the pool mutex lock held.
15d4ce4 to
e7abf02
Compare
664fc48 to
d9484cc
Compare
e7abf02 to
0158846
Compare
d9484cc to
af14e44
Compare
0158846 to
fd3dd2c
Compare
af14e44 to
23244aa
Compare
fd3dd2c to
99acf19
Compare
23244aa to
01be512
Compare
chore: Trusted Auctioneer: update the protos
feat: Trusted Auctioneer: Add initial set of metrics for auctioneer
feat: Trusted Auctioneer: Code cleanups
…-block feat: Trusted Auctioneer: Add API to query the current optimistic block
feat: Trusted Auctioneer: Support unmarshalling signed allocations and placing it at the TOB
feat: Trusted Auctioneer: Add a cmd line flag to run a Flame node in auctioneer mode
refactor: Trusted Auctioneer: Separate execution api service and optimistic execution api service
feat: Trusted Auctioneer: Implement bundle streaming
…ecution feat: Trusted Auctioneer: implement stream execute optimistic block
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds an event.feed to the legacy pool to which an event is sent after the mempool is cleared after a reset.
Changes made:
mempoolClearedFeedto legacy poolclearPendingAndQueued