package tezos-shell-services

  1. Overview
  2. Docs
type block_error =
  1. | Cannot_parse_operation of Tezos_crypto.Operation_hash.t
  2. | Invalid_fitness of {
    1. expected : Tezos_base.Fitness.t;
    2. found : Tezos_base.Fitness.t;
    }
  3. | Non_increasing_timestamp
  4. | Non_increasing_fitness
  5. | Invalid_level of {
    1. expected : Int32.t;
    2. found : Int32.t;
    }
  6. | Invalid_proto_level of {
    1. expected : int;
    2. found : int;
    }
  7. | Replayed_operation of Tezos_crypto.Operation_hash.t
  8. | Outdated_operation of {
    1. operation : Tezos_crypto.Operation_hash.t;
    2. originating_block : Tezos_crypto.Block_hash.t;
    }
  9. | Expired_chain of {
    1. chain_id : Tezos_crypto.Chain_id.t;
    2. expiration : Tezos_base.Time.Protocol.t;
    3. timestamp : Tezos_base.Time.Protocol.t;
    }
  10. | Unexpected_number_of_validation_passes of int
  11. | Too_many_operations of {
    1. pass : int;
    2. found : int;
    3. max : int;
    }
  12. | Oversized_operation of {
    1. operation : Tezos_crypto.Operation_hash.t;
    2. size : int;
    3. max : int;
    }
  13. | Unallowed_pass of {
    1. operation : Tezos_crypto.Operation_hash.t;
    2. pass : int;
    3. allowed_pass : int list;
    }
  14. | Cannot_parse_block_header
  15. | Economic_protocol_error of Tezos_error_monad.TzCore.error list
  16. | Invalid_protocol_environment_transition of Tezos_base.Protocol.env_version * Tezos_base.Protocol.env_version
type validation_process_error =
  1. | Missing_handshake
  2. | Inconsistent_handshake of string
  3. | Socket_path_too_long of string
  4. | Socket_path_wrong_permission of string
  5. | Cannot_run_external_validator of string
type Tezos_base__TzPervasives.error +=
  1. | Invalid_block of {
    1. block : Tezos_crypto.Block_hash.t;
    2. error : block_error;
    }
  2. | Unavailable_protocol of {
    1. block : Tezos_crypto.Block_hash.t;
    2. protocol : Tezos_crypto.Protocol_hash.t;
    }
  3. | Inconsistent_operations_hash of {
    1. block : Tezos_crypto.Block_hash.t;
    2. expected : Tezos_crypto.Operation_list_list_hash.t;
    3. found : Tezos_crypto.Operation_list_list_hash.t;
    }
  4. | Failed_to_checkout_context of Tezos_crypto.Context_hash.t
  5. | System_error of {
    1. errno : string;
    2. fn : string;
    3. msg : string;
    }
  6. | Missing_test_protocol of Tezos_crypto.Protocol_hash.t
  7. | Validation_process_failed of validation_process_error
  8. | Cannot_validate_while_shutting_down
OCaml

Innovation. Community. Security.