pub async fn validate(
conn_pool: &ConnectionPool,
contract_registry: &ContentAddress,
block: &Block,
) -> Result<ValidateOutcome, ValidationError>Expand description
Validates a block.
Returns a ValidationResult if no ValidationError occurred that prevented the block from being validated.