lighthouse/beacon_node/network/src
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
..
network_beacon_processor Don't downscore peers on duplicate blocks (#4791) 2023-10-03 23:59:35 +00:00
service Add Experimental QUIC support (#4577) 2023-09-15 03:07:24 +00:00
subnet_service Do not log slot clock error prior to genesis (#4657) 2023-08-28 00:55:32 +00:00
sync Fix disable backfill flag not working correctly (#4615) 2023-08-14 06:08:34 +00:00
error.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
lib.rs Move the BeaconProcessor into a new crate (#4435) 2023-07-10 07:45:54 +00:00
metrics.rs Move the BeaconProcessor into a new crate (#4435) 2023-07-10 07:45:54 +00:00
nat.rs Add Experimental QUIC support (#4577) 2023-09-15 03:07:24 +00:00
persisted_dht.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
router.rs Move the BeaconProcessor into a new crate (#4435) 2023-07-10 07:45:54 +00:00
service.rs Add Experimental QUIC support (#4577) 2023-09-15 03:07:24 +00:00
status.rs enable 4844 at epoch 3 2022-09-18 12:13:03 +02:00