solana/gossip
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 removes legacy weighted_shuffle and weighted_best methods (#24125) 2022-04-05 19:19:22 +00:00
src maps number of data shreds to erasure batch size (#25917) 2022-06-23 13:27:54 +00:00
tests removes raw indexing into packet data (#25554) 2022-06-03 01:05:06 +00:00
.gitignore
Cargo.toml Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
build.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00