solana/ledger
behzad nouri e812430e28
defines shred flags using bitflags crate (#24874)
Shred flags uses raw bit-masking ops which lacks type-safety:
https://github.com/solana-labs/solana/blob/a829ddc92/ledger/src/shred.rs#L112-L114

This commit instead uses bitflags crate to define shred flags.
2022-05-01 19:25:15 +00:00
..
benches replaces Shred::new_empty_coding with Shred::new_from_parity_shard (#24749) 2022-04-27 18:04:10 +00:00
src defines shred flags using bitflags crate (#24874) 2022-05-01 19:25:15 +00:00
tests hides implementation details of shred from its public interface (#24563) 2022-04-25 12:43:22 +00:00
.gitignore
Cargo.toml adds hard-coded tests for backward compatibility of shreds serialization (#24866) 2022-05-01 13:11:45 +00:00
build.rs