solana-with-rpc-optimizations/core
behzad nouri 39ca788b95
discards shreds in sigverify if the slot leader is the node itself (#26229)
Shreds are dropped in window-service if the slot leader is the node
itself:
https://github.com/solana-labs/solana/blob/cd2878acf/core/src/window_service.rs#L181-L185

However this is done after wasting resources verifying signature on
these shreds, and requires a redundant 2nd lookup of the slot leader.

This commit instead discards such shreds in sigverify stage where we
already know the leader for the slot.
2022-06-27 20:12:23 +00:00
..
benches moves Shred::seed to ShredId and adds test coverage (#26251) 2022-06-27 17:58:43 +00:00
src discards shreds in sigverify if the slot leader is the node itself (#26229) 2022-06-27 20:12:23 +00:00
tests Remove StatusCacheRc type and use StatusCache directly (#26184) 2022-06-24 08:38:56 -05:00
.gitignore
Cargo.toml Bump Version to 1.11.2 (#26159) 2022-06-22 21:16:18 -05:00
build.rs