lighthouse/beacon_node/network/src
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
..
beacon_processor Fix Gossip Penalties During Optimistic Sync Window (#3350) 2022-07-20 20:59:38 +00:00
router Remove unused method in HandlerNetworkContext (#3299) 2022-07-04 02:56:14 +00:00
service Filter non global ips from discovery (#3023) 2022-03-02 03:14:27 +00:00
subnet_service Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
sync Fix Gossip Penalties During Optimistic Sync Window (#3350) 2022-07-20 20:59:38 +00:00
error.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
lib.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
metrics.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
nat.rs rust 1.53.0 updates (#2411) 2021-06-18 05:58:01 +00:00
persisted_dht.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
service.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
status.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00