chore: misc blockchain tree (#2453)

This commit is contained in:
Matthias Seitz
2023-04-28 20:07:28 +02:00
committed by GitHub
parent a40f3d775c
commit e5caf7b4f7
5 changed files with 13 additions and 12 deletions

View File

@ -13,7 +13,7 @@ pub use reth_rpc_types::engine::ForkchoiceState;
pub trait Consensus: Debug + Send + Sync {
/// Validate if header is correct and follows consensus specification.
///
/// This is called on standalone header to check if all hashe
/// This is called on standalone header to check if all hashes are correct.
fn validate_header(&self, header: &SealedHeader) -> Result<(), ConsensusError>;
/// Validate that the header information regarding parent are correct.