mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Blacklist invalid block root in block verification and blacklist invalid finalized epochs in sync.
This commit is contained in:
@@ -1457,6 +1457,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
|
|||||||
| Err(e @ BlockError::InconsistentFork(_))
|
| Err(e @ BlockError::InconsistentFork(_))
|
||||||
| Err(e @ BlockError::ExecutionPayloadError(_))
|
| Err(e @ BlockError::ExecutionPayloadError(_))
|
||||||
| Err(e @ BlockError::ParentExecutionPayloadInvalid { .. })
|
| Err(e @ BlockError::ParentExecutionPayloadInvalid { .. })
|
||||||
|
| Err(e @ BlockError::KnownInvalidExecutionPayload(_))
|
||||||
| Err(e @ BlockError::GenesisBlock) => {
|
| Err(e @ BlockError::GenesisBlock) => {
|
||||||
warn!(self.log, "Could not verify block for gossip. Rejecting the block";
|
warn!(self.log, "Could not verify block for gossip. Rejecting the block";
|
||||||
"error" => %e);
|
"error" => %e);
|
||||||
|
|||||||
Reference in New Issue
Block a user