pub fn validate_header_gas<H>(header: &H) -> Result<(), ConsensusError>where
H: BlockHeader,
Expand description
Gas used needs to be less than gas limit. Gas used is going to be checked after execution.
pub fn validate_header_gas<H>(header: &H) -> Result<(), ConsensusError>where
H: BlockHeader,
Gas used needs to be less than gas limit. Gas used is going to be checked after execution.