solana/ledger
behzad nouri 6d9818b8e4
skips retransmit for shreds with unknown slot leader (#19472)
Shreds' signatures should be verified before they reach retransmit
stage, and if the leader is unknown they should fail signature check.
Therefore retransmit-stage can as well expect to know who the slot
leader is and otherwise just skip the shred.

Blockstore checking signature of recovered shreds before sending them to
retransmit stage:
https://github.com/solana-labs/solana/blob/4305d4b7b/ledger/src/blockstore.rs#L884-L930

Shred signature verifier:
https://github.com/solana-labs/solana/blob/4305d4b7b/core/src/sigverify_shreds.rs#L41-L57
https://github.com/solana-labs/solana/blob/4305d4b7b/ledger/src/sigverify_shreds.rs#L105
2021-09-01 15:44:26 +00:00
..
benches Record vote account commission with voting/staking rewards and surface in RPC 2021-07-12 15:09:44 -07:00
src skips retransmit for shreds with unknown slot leader (#19472) 2021-09-01 15:44:26 +00:00
tests Move entry/poh to own crate to speed up poh bench build (#18225) 2021-07-14 14:16:29 +02:00
.gitignore system_instruction_processor updates (#6448) 2019-10-19 18:23:27 -07:00
Cargo.toml chore: bump futures from 0.3.16 to 0.3.17 (#19513) 2021-08-30 22:12:38 -06:00
build.rs adds crds-value for broadcasting duplicate shreds through gossip (#14133) 2020-12-18 14:32:43 +00:00