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. |
||
---|---|---|
.. | ||
common.rs | ||
legacy.rs | ||
merkle.rs | ||
shred_code.rs | ||
shred_data.rs | ||
stats.rs | ||
traits.rs |