forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 318
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 (#4460)
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
738e064
commit 09ecef4
Showing
1 changed file
with
35 additions
and
35 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