lighthouse/beacon_node
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
..
beacon_chain Use only lighthouse types in the mock builder (#4793) 2023-10-03 17:59:28 +00:00
beacon_processor Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
builder_client Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
client Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
eth1 Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
execution_layer Use only lighthouse types in the mock builder (#4793) 2023-10-03 17:59:28 +00:00
genesis Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
http_api Use only lighthouse types in the mock builder (#4793) 2023-10-03 17:59:28 +00:00
http_metrics Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
lighthouse_network enforce non zero enr ports (#4776) 2023-10-03 23:59:34 +00:00
network Don't downscore peers on duplicate blocks (#4791) 2023-10-03 23:59:35 +00:00
operation_pool Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
src enforce non zero enr ports (#4776) 2023-10-03 23:59:34 +00:00
store Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Move dependencies to workspace (#4650) 2023-09-22 04:30:56 +00:00
Cargo.toml Release v4.5.0 (#4768) 2023-09-25 05:14:01 +00:00