package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Wrong_endorsement_predecessor of Tezos_crypto.Block_hash.t * Tezos_crypto.Block_hash.t
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Duplicate_endorsement of Tezos_crypto.Signature.public_key_hash
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Invalid_endorsement_level
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Unwrapped_endorsement
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Invalid_commitment of {
    1. expected : bool;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Internal_operation_replay of Alpha_context.packed_internal_operation
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Invalid_double_endorsement_evidence
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Inconsistent_double_endorsement_evidence of {
    1. delegate1 : Tezos_crypto.Signature.public_key_hash;
    2. delegate2 : Tezos_crypto.Signature.public_key_hash;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Too_early_double_endorsement_evidence of {
    1. level : Alpha_context.Raw_level.t;
    2. current : Alpha_context.Raw_level.t;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Outdated_double_endorsement_evidence of {
    1. level : Alpha_context.Raw_level.t;
    2. last : Alpha_context.Raw_level.t;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Invalid_double_baking_evidence of {
    1. hash1 : Tezos_crypto.Block_hash.t;
    2. level1 : int32;
    3. hash2 : Tezos_crypto.Block_hash.t;
    4. level2 : int32;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Inconsistent_double_baking_evidence of {
    1. delegate1 : Tezos_crypto.Signature.public_key_hash;
    2. delegate2 : Tezos_crypto.Signature.public_key_hash;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Too_early_double_baking_evidence of {
    1. level : Alpha_context.Raw_level.t;
    2. current : Alpha_context.Raw_level.t;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Outdated_double_baking_evidence of {
    1. level : Alpha_context.Raw_level.t;
    2. last : Alpha_context.Raw_level.t;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Invalid_activation of {
    1. pkh : Tezos_crypto.Ed25519.Public_key_hash.t;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Gas_quota_exceeded_init_deserialize
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Inconsistent_sources
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Not_enough_endorsements_for_priority of {
    1. required : int;
    2. priority : int;
    3. endorsements : int;
    4. timestamp : Tezos_base.Time.Protocol.t;
    }
type Tezos_protocol_environment_alpha__Environment.Error_monad.error +=
  1. | Failing_noop_error
val begin_partial_construction : Alpha_context.t -> (Alpha_context.t, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val begin_full_construction : Alpha_context.t -> Tezos_base.Time.Protocol.t -> Alpha_context.Block_header.contents -> (Alpha_context.t * Alpha_context.Block_header.contents * Alpha_context.public_key * Alpha_context.Period.t, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val begin_application : Alpha_context.t -> Tezos_crypto.Chain_id.t -> Alpha_context.Block_header.t -> Tezos_base.Time.Protocol.t -> (Alpha_context.t * Alpha_context.public_key * Alpha_context.Period.t, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val apply_operation : Alpha_context.t -> Tezos_crypto.Chain_id.t -> Script_ir_translator.unparsing_mode -> Tezos_crypto.Block_hash.t -> Alpha_context.public_key_hash -> Tezos_crypto.Operation_hash.t -> 'a Alpha_context.operation -> (Alpha_context.t * 'a Apply_results.operation_metadata, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val finalize_application : Alpha_context.t -> Alpha_context.Block_header.contents -> Alpha_context.public_key_hash -> block_delay:Alpha_context.Period.t -> Alpha_context.Receipt.balance_updates -> (Alpha_context.t * Apply_results.block_metadata, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val apply_contents_list : Alpha_context.t -> Tezos_crypto.Chain_id.t -> Script_ir_translator.unparsing_mode -> Tezos_crypto.Block_hash.t -> Alpha_context.public_key_hash -> 'kind Alpha_context.operation -> 'kind Alpha_context.contents_list -> (Alpha_context.t * 'kind Apply_results.contents_result_list, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result Lwt.t
val check_minimum_endorsements : Alpha_context.t -> Alpha_context.Block_header.contents -> Alpha_context.Period.t -> int -> (unit, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result
OCaml

Innovation. Community. Security.