lighthouse/beacon_node/network
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
..
src Check lateness of block before requeuing it (#4208) 2023-04-19 04:23:20 +00:00
Cargo.toml Correct a race condition when dialing peers (#4056) 2023-03-16 05:44:54 +00:00