Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove penalty for attesting to unknown head (sigp#2903)
## Issue Addressed - Resolves sigp#2902 ## Proposed Changes As documented in sigp#2902, there are some cases where we will score peers very harshly for sending attestations to an unknown head. This PR removes the penalty when an attestation for an unknown head is received, queued for block look-up, then popped from the queue without the head block being known. This prevents peers from being penalized for an unknown block when that peer was never actually asked for the block. Peer penalties should still be applied to the peers who *do* get the request for the block and fail to respond with a valid block. As such, peers who send us attestations to non-existent heads should eventually be booted. ## Additional Info - [ ] Need to confirm that a timeout for a bbroot request will incur a penalty.
- Loading branch information