package tezos-embedded-protocol-alpha

  1. Overview
  2. Docs
module P : sig ... end
val max_block_length : int
val max_operation_data_length : int
val validation_passes : Environment_context.quota list
type block_header_data = P.block_header_data
val block_header_data_encoding : block_header_data Data_encoding.t
type block_header = P.block_header = {
  1. shell : Tezos_base.Block_header.shell_header;
  2. protocol_data : block_header_data;
}
type block_header_metadata = P.block_header_metadata
val block_header_metadata_encoding : block_header_metadata Data_encoding.t
type operation_data = P.operation_data
type operation_receipt = P.operation_receipt
type operation = P.operation = {
  1. shell : Tezos_base.Operation.shell_header;
  2. protocol_data : operation_data;
}
val operation_data_encoding : operation_data Data_encoding.t
val operation_receipt_encoding : operation_receipt Data_encoding.t
val operation_data_and_receipt_encoding : (operation_data * operation_receipt) Data_encoding.t
val acceptable_passes : operation -> int list
val compare_operations : operation -> operation -> int
type validation_state = P.validation_state
val begin_partial_application : chain_id:Tezos_crypto.Chain_id.t -> ancestor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base.Time.Protocol.t -> predecessor_fitness:Tezos_base.Fitness.t -> block_header -> (validation_state, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val begin_construction : chain_id:Tezos_crypto.Chain_id.t -> predecessor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base.Time.Protocol.t -> predecessor_level:Stdlib.Int32.t -> predecessor_fitness:Tezos_base.Fitness.t -> predecessor:Tezos_crypto.Block_hash.t -> timestamp:Tezos_base.Time.Protocol.t -> ?protocol_data:block_header_data -> unit -> (validation_state, Tezos_error_monad.TzCore.error Tezos_error_monad.Error_monad.TzTrace.trace) Stdlib.result Lwt.t
val environment_version : Tezos_base.Protocol.env_version
module Block_services : sig ... end
val complete_b58prefix : Tezos_protocol_environment.Context.t -> string -> string list Lwt.t
OCaml

Innovation. Community. Security.