lighthouse/beacon_node/network/src/beacon_processor
ethDreamer 7c3ff903ca Fix Gossip Penalties During Optimistic Sync Window (#3350)
## Issue Addressed
* #3344 

## Proposed Changes

There are a number of cases during block processing where we might get an `ExecutionPayloadError` but we shouldn't penalize peers. We were forgetting to enumerate all of the non-penalizing errors in every single match statement where we are making that decision. I created a function to make it explicit when we should and should not penalize peers and I used that function in all places where this logic is needed. This way we won't make the same mistake if we add another variant of `ExecutionPayloadError` in the future.
2022-07-20 20:59:38 +00:00
..
worker Fix Gossip Penalties During Optimistic Sync Window (#3350) 2022-07-20 20:59:38 +00:00
mod.rs Ignored sync jobs 2 (#3317) 2022-07-15 07:31:20 +00:00
tests.rs Ignored sync jobs 2 (#3317) 2022-07-15 07:31:20 +00:00
work_reprocessing_queue.rs Ignored sync jobs 2 (#3317) 2022-07-15 07:31:20 +00:00