This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Helper function for creating ShredStorageType::RocksFifo (#25569)
#### Problem Currently, the creation of ShredStorageType::RocksFifo is hard coded in validator/src/main.rs. But this common code will also need to be used in other places like ledger-tool. #### Summary of Changes This PR creates a helper functionShredStorageType::rocks_fifo that takes a total shred_storage_size and equally allocates to data-shred and coding-shred storage.
- Loading branch information
1 parent
5f04512
commit 591986e
Showing
2 changed files
with
20 additions
and
10 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