forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reworks blockstore ColumnIndexDeprecation trait
Similar to #4416 in order to add more type-safety and avoid unnecessary heap allocations: https://github.com/anza-xyz/agave/blob/8a0c9b461/ledger/src/blockstore_db.rs#L932 https://github.com/anza-xyz/agave/blob/8a0c9b461/ledger/src/blockstore_db.rs#L1005 https://github.com/anza-xyz/agave/blob/8a0c9b461/ledger/src/blockstore_db.rs#L1075 the commit removes const DEPRECATED_INDEX_LEN: usize; from ColumnIndexDeprecation trait and instead adds: type DeprecatedKey: AsRef<[u8]>;
- Loading branch information
1 parent
8a0c9b4
commit 6f8b9c9
Showing
1 changed file
with
42 additions
and
30 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