solana/ledger
behzad nouri f534b8981b
maps number of data shreds to erasure batch size (#25917)
In prepration of
https://github.com/solana-labs/solana/pull/25807
which reworks erasure batch sizes, this commit:
* adds a helper function mapping the number of data shreds to the
  erasure batch size.
* adds ProcessShredsStats to Shredder::entries_to_shreds in order to
  replace and remove entries_to_data_shreds from the public interface.
2022-06-23 13:27:54 +00:00
..
benches adds support for different variants of ShredCode and ShredData 2022-06-02 18:55:50 +00:00
src maps number of data shreds to erasure batch size (#25917) 2022-06-23 13:27:54 +00:00
tests maps number of data shreds to erasure batch size (#25917) 2022-06-23 13:27:54 +00:00
.gitignore
Cargo.toml Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00