forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TieredStorage] Make AccountOffset a trait, introduce HotAccountOffset (
solana-labs#34335) Hot and cold accounts storage have different implementations of their offsets. As a result, a single struct AccountOffset isn't suitable to describe the offsets used by hot and cold accounts storage. This PR makes AccountOffset a trait. On top of that, introduces HotAccountOffset that implements AccountOffset. Updated existing unit-tests.
- Loading branch information
1 parent
523ea25
commit 9da6a29
Showing
3 changed files
with
105 additions
and
48 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