solana/ledger
Yueh-Hsuan Chiang 591986eb01
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.
2022-06-08 07:58:58 +08:00
..
benches adds support for different variants of ShredCode and ShredData 2022-06-02 18:55:50 +00:00
src Helper function for creating ShredStorageType::RocksFifo (#25569) 2022-06-08 07:58:58 +08:00
tests adds support for different variants of ShredCode and ShredData 2022-06-02 18:55:50 +00:00
.gitignore
Cargo.toml chore: bump lru from 0.7.5 to 0.7.6 (#25572) 2022-05-26 19:05:02 +00:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00