solana/ledger
behzad nouri 4f947a0db3
(de-)serializes shred headers through a Cursor (#24876)
Current serialize/de-serialize code for shreds manually tracks offsets
into the payload; This can instead be done with std::io::Cursor.
https://github.com/solana-labs/solana/blob/e812430e2/ledger/src/shred.rs#L232-L258
2022-05-02 15:02:06 +00:00
..
benches replaces Shred::new_empty_coding with Shred::new_from_parity_shard (#24749) 2022-04-27 18:04:10 +00:00
src (de-)serializes shred headers through a Cursor (#24876) 2022-05-02 15:02:06 +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 adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00