package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type Tezos_base.TzPervasives.error +=
  1. | Block_not_found of {
    1. hash : Tezos_base.TzPervasives.Block_hash.t;
    2. distance : int;
    }
  2. | Resulting_context_hash_not_found of {
    1. hash : Tezos_base.TzPervasives.Block_hash.t;
    2. level : int32;
    }
  3. | Bad_level of {
    1. head_level : Int32.t;
    2. given_level : Int32.t;
    }
  4. | Block_metadata_not_found of Tezos_base.TzPervasives.Block_hash.t
  5. | Protocol_not_found of {
    1. protocol_level : int;
    }
  6. | Cannot_switch_history_mode of {
    1. previous_mode : History_mode.t;
    2. next_mode : History_mode.t;
    }
  7. | Invalid_head_switch of {
    1. checkpoint_level : int32;
    2. given_head : Tezos_base.TzPervasives.Block_hash.t * int32;
    }
  8. | Inconsistent_store_state of string
  9. | Inconsistent_operations_hash of {
    1. expected : Tezos_base.TzPervasives.Operation_list_list_hash.t;
    2. got : Tezos_base.TzPervasives.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 : Int32.t;
    2. expected_cycle_start : Int32.t;
    }
  3. | Bad_offset of {
    1. level : int;
    2. cycle : string;
    }
  4. | Unexpected_level of {
    1. block_hash : Tezos_base.TzPervasives.Block_hash.t;
    2. expected : Int32.t;
    3. got : Int32.t;
    }
  5. | Corrupted_index of Tezos_base.TzPervasives.Block_hash.t
  6. | Inconsistent_highest_cemented_level of {
    1. highest_cemented_level : Int32.t;
    2. cementing_highwatermark : Int32.t;
    }
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;
    }
type Tezos_base.TzPervasives.error +=
  1. | Cannot_write_in_readonly
  2. | Wrong_predecessor of Tezos_base.TzPervasives.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 : Int32.t;
    2. expected_hash : Tezos_base.TzPervasives.Block_hash.t;
    3. computed_hash : Tezos_base.TzPervasives.Block_hash.t;
    }
  19. | Inconsistent_block_predecessor of {
    1. block_hash : Tezos_base.TzPervasives.Block_hash.t;
    2. level : Int32.t;
    3. expected_hash : Tezos_base.TzPervasives.Block_hash.t;
    4. computed_hash : Tezos_base.TzPervasives.Block_hash.t;
    }
  20. | Cannot_encode_block of Tezos_base.TzPervasives.Block_hash.t
  21. | Cannot_store_block of Tezos_base.TzPervasives.Block_hash.t * store_block_error
  22. | Cannot_checkout_context of Tezos_base.TzPervasives.Block_hash.t * Tezos_base.TzPervasives.Context_hash.t
  23. | Cannot_find_protocol of int
  24. | Invalid_genesis_marking
  25. | Cannot_retrieve_savepoint of Int32.t
  26. | Cannot_set_target of Tezos_base.TzPervasives.Block_hash.t * Int32.t
  27. | Missing_commit_info of string
  28. | Inconsistent_chain_store
  29. | Fork_testchain_not_allowed
  30. | Cannot_fork_testchain of Tezos_base.TzPervasives.Chain_id.t
  31. | Cannot_load_testchain of string
  32. | Missing_activation_block of Tezos_base.TzPervasives.Block_hash.t * Tezos_base.TzPervasives.Protocol_hash.t * History_mode.t
  33. | Inconsistent_protocol_commit_info of Tezos_base.TzPervasives.Block_hash.t * Tezos_base.TzPervasives.Protocol_hash.t
  34. | Failed_to_get_live_blocks of Tezos_base.TzPervasives.Block_hash.t
  35. | Target_mismatch
  36. | Bad_head_invariant
type Tezos_base.TzPervasives.error +=
  1. | Unexpected_missing_block of {
    1. block_name : string;
    2. level : Int32.t;
    3. hash : Tezos_base.TzPervasives.Block_hash.t;
    }
  2. | Unexpected_missing_block_metadata of {
    1. block_name : string;
    2. level : Int32.t;
    3. hash : Tezos_base.TzPervasives.Block_hash.t;
    }
  3. | Unexpected_missing_activation_block of {
    1. block : Tezos_base.TzPervasives.Block_hash.t;
    2. protocol : Tezos_base.TzPervasives.Protocol_hash.t;
    }
  4. | Unexpected_missing_protocol of {
    1. protocol_level : int;
    }
  5. | Inconsistent_genesis of {
    1. expected : Tezos_base.TzPervasives.Block_hash.t;
    2. got : Tezos_base.TzPervasives.Block_hash.t;
    }
  6. | Inconsistent_cementing_highwatermark of {
    1. highest_cemented_level : Int32.t;
    2. cementing_highwatermark : Int32.t;
    }
  7. | Inconsistent_history_mode of History_mode.t
  8. | Bad_ordering_invariant of {
    1. genesis : Int32.t;
    2. caboose : Int32.t;
    3. savepoint : Int32.t;
    4. cementing_highwatermark : Int32.t option;
    5. checkpoint : Int32.t;
    6. head : Int32.t;
    }
type corruption_kind =
  1. | Inferred_head of Tezos_base.TzPervasives.Block_hash.t * Int32.t
  2. | Cannot_find_floating_savepoint
  3. | Cannot_find_savepoint_candidate
  4. | Cannot_find_floating_caboose
  5. | Cannot_find_caboose_candidate
  6. | Cannot_find_block_with_metadata
  7. | Cannot_find_activation_block of int
  8. | Missing_genesis
val pp_corruption_kind : Format.formatter -> corruption_kind -> unit
type Tezos_base.TzPervasives.error +=
  1. | Corrupted_store of corruption_kind
type Tezos_base.TzPervasives.error +=
  1. | Cannot_find_chain_dir of string
  2. | V_3_0_upgrade_missing_floating_block of {
    1. block_hash : Tezos_base.TzPervasives.Block_hash.t;
    2. block_level : Int32.t;
    3. floating_kind : string;
    }
OCaml

Innovation. Community. Security.