tezos-shell-services

Tezos: descriptions of RPCs exported by `tezos-shell`
IN THIS PACKAGE
type block_error =
| Cannot_parse_operation of Tezos_crypto.Operation_hash.t
| Invalid_fitness of {
expected : Tezos_base.Fitness.t;
found : Tezos_base.Fitness.t;
}
| Non_increasing_timestamp
| Non_increasing_fitness
| Invalid_level of {
expected : Int32.t;
found : Int32.t;
}
| Invalid_proto_level of {
expected : int;
found : int;
}
| Replayed_operation of Tezos_crypto.Operation_hash.t
| Outdated_operation of {
operation : Tezos_crypto.Operation_hash.t;
originating_block : Tezos_crypto.Block_hash.t;
}
| Expired_chain of {
chain_id : Tezos_crypto.Chain_id.t;
expiration : Tezos_base.Time.Protocol.t;
timestamp : Tezos_base.Time.Protocol.t;
}
| Unexpected_number_of_validation_passes of int
| Too_many_operations of {
pass : int;
found : int;
max : int;
}
| Oversized_operation of {
operation : Tezos_crypto.Operation_hash.t;
size : int;
max : int;
}
| Unallowed_pass of {
operation : Tezos_crypto.Operation_hash.t;
pass : int;
allowed_pass : int list;
}
| Cannot_parse_block_header
type validation_process_error =
| Missing_handshake
| Inconsistent_handshake of string
type Tezos_base__TzPervasives.error +=
| Invalid_block of {
block : Tezos_crypto.Block_hash.t;
error : block_error;
}
| Unavailable_protocol of {
block : Tezos_crypto.Block_hash.t;
protocol : Tezos_crypto.Protocol_hash.t;
}
| Inconsistent_operations_hash of {
block : Tezos_crypto.Block_hash.t;
expected : Tezos_crypto.Operation_list_list_hash.t;
found : Tezos_crypto.Operation_list_list_hash.t;
}
| Failed_to_checkout_context of Tezos_crypto.Context_hash.t
| System_error of {
errno : string;
fn : string;
msg : string;
}
| Missing_test_protocol of Tezos_crypto.Protocol_hash.t
| Validation_process_failed of validation_process_error
val invalid_block : Tezos_crypto.Block_hash.t -> block_error -> Tezos_base__TzPervasives.error