forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Refactor data structure representing account candidates for cleaning #2296
Merged
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
218b21c
Refactor data structure representing account candidates for cleaning
dmakarov 4736bf9
Remove redundant method of CleaningInfo and make its fields private
dmakarov cea2b97
Rework pubkey_to_slot_set construction
dmakarov 2134606
Use slice instead of Vec in parameter types
dmakarov d336db1
Remove redundant duplicate expression
dmakarov 158093f
Fix tests build
dmakarov f18a64d
Replace Vec by Box
dmakarov 443cb89
Fix clippy error
dmakarov 3db470f
Add missing expect() message
dmakarov bb8cc3f
Update expect message
dmakarov 77ffc2a
Remove unnecessary check for empty bins
dmakarov 9225b4a
Remove redundant type specification
dmakarov 1affff3
Formatting fixes
dmakarov 51cb458
Exclude accounts with empty slot list
dmakarov 11df2e5
Fix name in an info message
dmakarov 388fc20
Call scan once per pubkey
dmakarov d11c8e0
Fix deadlock in test
dmakarov 44b79ed
Remove redundant variable
dmakarov dd258b0
Find affected pubkey in all bins
dmakarov 1bb2452
Undo BINS_FOR_TESTING change
dmakarov f140b66
Avoid acquiring read lock twice in same thread
dmakarov 437182c
comments
dmakarov 4f1994d
comments
dmakarov 2b7efbf
replace if-then-else by then_some
dmakarov b48e6dd
Don't retain entries with empty slot list
dmakarov e1664eb
add filtering on store counts loop
jeffwashington 3d7f48c
fix fmting on scan_accounts
jeffwashington 8e80e90
extract out count_pubkeys
jeffwashington 42d58d0
extract out `insert_pubkey`
jeffwashington 0b0a29c
fix fmt on `retain`
jeffwashington a58bd1d
Remove hashset_to_vec timer
dmakarov f45f0af
comments
dmakarov 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 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
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.
ha. it was never dumped out anyway.