lighthouse/beacon_node/network
Pawan Dhananjay 5bab9b866e Don't downscore peers on duplicate blocks (#4791)
## Issue Addressed

N/A

## Proposed Changes

We were currently downscoring a peer for sending us a block that we already have in fork choice. This is unnecessary as we get duplicates in lighthouse only when
1. We published the block, so the block is already in fork choice
2. We imported the same block over rpc

In both scenarios, the peer who sent us the block over gossip is not at fault.

This isn't exploitable as valid duplicates will get dropped by the gossipsub duplicate filter
2023-10-03 23:59:35 +00:00
..
src Don't downscore peers on duplicate blocks (#4791) 2023-10-03 23:59:35 +00:00
Cargo.toml Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00