Mavryk_shell_services.Block_validator_errors
type block_error =
| Cannot_parse_operation of Mavryk_base.TzPervasives.Operation_hash.t
| Invalid_fitness of {
expected : Mavryk_base.Fitness.t;
found : Mavryk_base.Fitness.t;
}
| Non_increasing_timestamp
| Non_increasing_fitness
| Invalid_level of {
}
| Invalid_proto_level of {
}
| Replayed_operation of Mavryk_base.TzPervasives.Operation_hash.t
| Outdated_operation of {
operation : Mavryk_base.TzPervasives.Operation_hash.t;
originating_block : Mavryk_base.TzPervasives.Block_hash.t;
}
| Expired_chain of {
chain_id : Mavryk_base.TzPervasives.Chain_id.t;
expiration : Mavryk_base.Time.Protocol.t;
timestamp : Mavryk_base.Time.Protocol.t;
}
| Unexpected_number_of_validation_passes of int
| Too_many_operations of {
}
| Oversized_operation of {
operation : Mavryk_base.TzPervasives.Operation_hash.t;
size : int;
max : int;
}
| Unallowed_pass of {
operation : Mavryk_base.TzPervasives.Operation_hash.t;
pass : int;
allowed_pass : int option;
}
| Cannot_parse_block_header
| Economic_protocol_error
| Invalid_protocol_environment_transition of Mavryk_base.Protocol.env_version
* Mavryk_base.Protocol.env_version
type Mavryk_base.TzPervasives.error +=
| Invalid_block of {
block : Mavryk_base.TzPervasives.Block_hash.t;
error : block_error;
}
| Inconsistent_operations_hash of {
block : Mavryk_base.TzPervasives.Block_hash.t;
expected : Mavryk_base.TzPervasives.Operation_list_list_hash.t;
found : Mavryk_base.TzPervasives.Operation_list_list_hash.t;
}
| Applying_non_validated_block of Mavryk_base.TzPervasives.Block_hash.t
| Failed_to_checkout_context of Mavryk_base.TzPervasives.Context_hash.t
| System_error of {
}
| Missing_test_protocol of Mavryk_base.TzPervasives.Protocol_hash.t
| Validation_process_failed of validation_process_error
| Cannot_process_request_while_shutting_down
val invalid_block :
Mavryk_base.TzPervasives.Block_hash.t ->
block_error ->
Mavryk_base.TzPervasives.error