solana/ledger/src/shred
behzad nouri 25b7811869
moves shreds deduper to shred-sigverify stage (#30786)
Shreds arriving at tvu/tvu_forward/repair sockets are each processed in
a separate thread, and since each thread has its own deduper, the
duplicates across these sockets are not filtered out.
Using a common deduper across these threads will require an RwLock
wrapper and may introduce lock contention.
The commit instead moves the shred-deduper to shred-sigverify-stage
where all these shreds arrive through the same channel.
2023-03-22 13:19:16 +00:00
..
common.rs removes set_{slot,index,last_in_slot} implementations for merkle shreds (#27689) 2022-09-09 17:58:04 +00:00
legacy.rs reduces MAX_CODE_SHREDS_PER_SLOT (#30543) 2023-03-04 20:56:26 +00:00
merkle.rs adds hash domain to merkle shreds (#29339) 2023-02-15 21:46:30 +00:00
shred_code.rs reduces MAX_CODE_SHREDS_PER_SLOT (#30543) 2023-03-04 20:56:26 +00:00
shred_data.rs removes the merkle root from shreds binary (#29427) 2023-02-15 21:17:24 +00:00
stats.rs moves shreds deduper to shred-sigverify stage (#30786) 2023-03-22 13:19:16 +00:00
traits.rs generalizes the return type of Shred::get_signed_data (#29446) 2022-12-31 17:08:25 +00:00