6c9f2eac78
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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
build.rs |