solana/core
behzad nouri 6c9f2eac78
removes fec_set_offset from UnfinishedSlotInfo (#25815)
If the blockstore has shreds for a slot, it should not recreate the
slot:
https://github.com/solana-labs/solana/blob/ff68bf6c2/ledger/src/leader_schedule_cache.rs#L142-L146
https://github.com/solana-labs/solana/pull/15849/files#r596657314

Therefore in broadcast stage if UnfinishedSlotInfo is None, then
fec_set_offset will be zero:
https://github.com/solana-labs/solana/blob/ff68bf6c2/core/src/broadcast_stage/standard_broadcast_run.rs#L111-L120

As a result fec_set_offset will always be zero, and is so redundant and
can be removed.
2022-06-07 22:17:37 +00:00
..
benches adds support for different variants of ShredCode and ShredData 2022-06-02 18:55:50 +00:00
src removes fec_set_offset from UnfinishedSlotInfo (#25815) 2022-06-07 22:17:37 +00:00
tests (Refactor) Move blocktore options related stuff to blockstore_options.rs (#25509) 2022-05-26 16:59:26 -07:00
.gitignore
Cargo.toml Record solana-validator ver to metrics at startup (#25635) 2022-06-01 13:37:50 +09:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00