-
Notifications
You must be signed in to change notification settings - Fork 879
TxMempool rewrite (CON-305) #3476
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
Open
pompon0
wants to merge
60
commits into
main
Choose a base branch
from
gprusak-mempool
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
5c35437
new mempool draft
pompon0 e4a1280
WIP
pompon0 2623868
Merge remote-tracking branch 'origin/main' into gprusak-mempool
pompon0 5a91fa6
WIP
pompon0 a6feb77
WIP
pompon0 df95cde
removed priority queue
pompon0 4635fca
clist
pompon0 13254e5
before implementing PopTxs
pompon0 750c82a
reap marker
pompon0 6bf90a7
prod code compiles
pompon0 cd616ce
fixing tests WIP
pompon0 c860fe9
WIP
pompon0 e295382
mempool tests compile
pompon0 c2d3f06
wip
pompon0 bdcd0a2
codex WIP
pompon0 b7f02dc
codex WIP
pompon0 9f0f768
codex WIP
pompon0 4bff32e
moved cache
pompon0 f51ec39
reaped requires a better handling
pompon0 17702a9
no reaped again
pompon0 2a7bc71
codex WIP
pompon0 6ea4f7a
codex WIP
pompon0 97717e7
fmt
pompon0 41dcf16
Merge remote-tracking branch 'origin/main' into gprusak-mempool
pompon0 0b9bf27
some updates and documentation
pompon0 d25b16d
some fixes
pompon0 f55487d
test fix
pompon0 58778ce
Merge remote-tracking branch 'origin/main' into gprusak-mempool
pompon0 81c762c
termination fix
pompon0 f83f36f
fmt
pompon0 5a41d05
lint
pompon0 9029187
fixes
pompon0 77e8580
fixes
pompon0 7297954
codex WIP
pompon0 dc9e820
metric fixes
pompon0 fc4a26e
test fix
pompon0 cfc0541
codex WIP
pompon0 917a739
codex WIP
pompon0 cf803e1
CList.Clear and replacement test
pompon0 b516f94
applied codex comments
pompon0 94bbd6c
applied codex comments
pompon0 b18320d
syntax
pompon0 ce65730
monotone blockHeight check
pompon0 41450a9
style
pompon0 616ba41
wip
pompon0 be86a25
merged helpers
pompon0 36b309d
backward compatibility fix
pompon0 45e80c3
compatibility fix
pompon0 0fd6a2d
updated caching logic
pompon0 7208030
cache compatible
pompon0 5e67f49
fixes
pompon0 7be9604
more fixes
pompon0 d9b1814
removed irrelevant test
pompon0 b4d042b
test fix
pompon0 b072f49
adjusted priorityReservoir usage
pompon0 91eb256
eliminated deviation from main
pompon0 38e5109
test triggering compaction in insert
pompon0 c56c2cc
comments
pompon0 7a8da94
changed utilisation to account all transactions, because gossip dampe…
pompon0 de2eda1
applied comments
pompon0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Removed context cancel changes shutdown ordering
Low Severity
Removing the second
defer cancel()that was placed at the end of the function changes context cancellation timing during shutdown. Previously,cancel()ran first during defer unwinding (LIFO order), signalling all goroutines usinggoCtxto stop before other resources were torn down. Now, the remainingdefer cancel()near the top of the function runs last, meaning gRPC servers, API servers, and the app are closed while goroutines usinggoCtxmay still be running.Reviewed by Cursor Bugbot for commit 7a8da94. Configure here.