lighthouse/beacon_node/network/src/beacon_processor
Paul Hauner 48843ba198 Check lateness of block before requeuing it (#4208)
## Issue Addressed

NA

## Proposed Changes

Avoids reprocessing loops introduced in #4179. (Also somewhat related to #4192).

Breaks the re-queue loop by only re-queuing when an RPC block is received before the attestation creation deadline.

I've put `proposal_is_known` behind a closure to avoid interacting with the `observed_proposers` lock unnecessarily. 

## Additional Info

NA
2023-04-19 04:23:20 +00:00
..
worker Check lateness of block before requeuing it (#4208) 2023-04-19 04:23:20 +00:00
mod.rs Rate limiting backfill sync (#3936) 2023-04-03 03:02:55 +00:00
tests.rs Add a flag to disable peer scoring (#4135) 2023-04-12 01:48:19 +00:00
work_reprocessing_queue.rs Avoid processing redundant RPC blocks (#4179) 2023-04-13 07:05:02 +00:00