package tezos-shell-services

  1. Overview
  2. Docs
type Tezos_base__TzPervasives.error +=
  1. | Block_not_found of Tezos_crypto.Block_hash.t
  2. | Bad_level of {
    1. head_level : Stdlib.Int32.t;
    2. given_level : Stdlib.Int32.t;
    }
  3. | Block_metadata_not_found of Tezos_crypto.Block_hash.t
  4. | Cannot_switch_history_mode of {
    1. previous_mode : History_mode.t;
    2. next_mode : History_mode.t;
    }
  5. | Invalid_head_switch of {
    1. checkpoint_level : int32;
    2. given_head : Tezos_crypto.Block_hash.t * int32;
    }
  6. | Inconsistent_store_state of string
  7. | Inconsistent_operations_hash of {
    1. expected : Tezos_crypto.Operation_list_list_hash.t;
    2. got : Tezos_crypto.Operation_list_list_hash.t;
    }
type cemented_store_inconsistency =
  1. | Missing_cycle of {
    1. low_cycle : string;
    2. high_cycle : string;
    }
  2. | Inconsistent_cycle_start of {
    1. cycle_start : Stdlib.Int32.t;
    2. expected_cycle_start : Stdlib.Int32.t;
    }
  3. | Bad_offset of {
    1. level : int;
    2. cycle : string;
    }
  4. | Unexpected_level of {
    1. block_hash : Tezos_crypto.Block_hash.t;
    2. expected : Stdlib.Int32.t;
    3. got : Stdlib.Int32.t;
    }
  5. | Corrupted_index of Tezos_crypto.Block_hash.t
  6. | Inconsistent_highest_cemented_level of {
    1. highest_cemented_level : Stdlib.Int32.t;
    2. cementing_highwatermark : Stdlib.Int32.t;
    }
val cemented_store_inconsistency_encoding : cemented_store_inconsistency Data_encoding.encoding
type store_block_error =
  1. | Invalid_block
  2. | Invalid_operations_length of {
    1. validation_passes : int;
    2. operations : int;
    }
  3. | Invalid_operations_data_length of {
    1. validation_passes : int;
    2. operations_data : int;
    }
  4. | Inconsistent_operations_lengths of {
    1. operations_lengths : string;
    2. operations_data_lengths : string;
    }
  5. | Invalid_last_allowed_fork_level of {
    1. last_allowed_fork_level : int32;
    2. genesis_level : int32;
    }
val store_block_error_encoding : store_block_error Data_encoding.encoding
type Tezos_base__TzPervasives.error +=
  1. | Cannot_write_in_readonly
  2. | Wrong_predecessor of Tezos_crypto.Block_hash.t * int
  3. | Invalid_blocks_to_cement
  4. | Wrong_floating_kind_swap
  5. | Cannot_update_floating_store
  6. | Cannot_instanciate_temporary_floating_store
  7. | Merge_already_running
  8. | Merge_error
  9. | Cannot_load_degraded_store
  10. | Cannot_merge_store of {
    1. status : string;
    }
  11. | Failed_to_init_cemented_block_store of string
  12. | Cannot_cement_blocks_metadata of [ `Empty | `Not_cemented ]
  13. | Cannot_cement_blocks of [ `Empty | `Higher_cemented ]
  14. | Temporary_cemented_file_exists of string
  15. | Inconsistent_cemented_file of string * string
  16. | Inconsistent_cemented_store of cemented_store_inconsistency
  17. | Missing_last_allowed_fork_level_block
  18. | Inconsistent_block_hash of {
    1. level : Stdlib.Int32.t;
    2. expected_hash : Tezos_crypto.Block_hash.t;
    3. computed_hash : Tezos_crypto.Block_hash.t;
    }
  19. | Inconsistent_block_predecessor of {
    1. block_hash : Tezos_crypto.Block_hash.t;
    2. level : Stdlib.Int32.t;
    3. expected_hash : Tezos_crypto.Block_hash.t;
    4. computed_hash : Tezos_crypto.Block_hash.t;
    }
  20. | Cannot_encode_block of Tezos_crypto.Block_hash.t
  21. | Cannot_store_block of Tezos_crypto.Block_hash.t * store_block_error
  22. | Cannot_checkout_context of Tezos_crypto.Block_hash.t * Tezos_crypto.Context_hash.t
  23. | Cannot_find_protocol of int
  24. | Invalid_genesis_marking
  25. | Cannot_retrieve_savepoint of Stdlib.Int32.t
  26. | Cannot_set_target of Tezos_crypto.Block_hash.t * Stdlib.Int32.t
  27. | Missing_commit_info of string
  28. | Inconsistent_chain_store
  29. | Fork_testchain_not_allowed
  30. | Cannot_fork_testchain of Tezos_crypto.Chain_id.t
  31. | Cannot_load_testchain of string
  32. | Missing_activation_block of Tezos_crypto.Block_hash.t * Tezos_crypto.Protocol_hash.t * History_mode.t
  33. | Inconsistent_protocol_commit_info of Tezos_crypto.Block_hash.t * Tezos_crypto.Protocol_hash.t
  34. | Missing_activation_block_legacy of Stdlib.Int32.t * Tezos_crypto.Protocol_hash.t * History_mode.t
  35. | Missing_stored_data of string
  36. | Failed_to_get_live_blocks of Tezos_crypto.Block_hash.t
  37. | Target_mismatch
  38. | Bad_head_invariant
type Tezos_base__TzPervasives.error +=
  1. | Unexpected_missing_block of {
    1. block_name : string;
    }
  2. | Unexpected_missing_block_metadata of {
    1. block_name : string;
    }
  3. | Inconsistent_genesis of {
    1. expected : Tezos_crypto.Block_hash.t;
    2. got : Tezos_crypto.Block_hash.t;
    }
  4. | Inconsistent_cementing_highwatermark of {
    1. highest_cemented_level : Stdlib.Int32.t;
    2. cementing_highwatermark : Stdlib.Int32.t;
    }
  5. | Inconsistent_history_mode of History_mode.t
  6. | Bad_ordering_invariant
type Tezos_base__TzPervasives.error +=
  1. | Corrupted_store of string
OCaml

Innovation. Community. Security.