forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blockstore: clean/save old TransactionMemos sensibly (solana-labs#33678)
* Convert OldestSlot to named struct * Add clean_slot_0 to OldestSlot * Set AtomicBool to true when all primary-index keys returning slot 0 should be purged * Add PurgedFilter::clean_slot_0 * Use clean_slot_0 to preserve deprecated TransactionMemos * Also set AtomicBool to true immediately on boot, if highest_primary_index_slot.is_none * Add test * Fixup test
- Loading branch information
1 parent
53925b6
commit 01a3b1b
Showing
3 changed files
with
137 additions
and
5 deletions.
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
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
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