package tezos-protocol-005-PsBabyM1

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val hash : Tezos_crypto.Protocol_hash.t
val name : string
include module type of struct include Tezos_raw_protocol_005_PsBabyM1 end
include module type of struct include Tezos_raw_protocol_005_PsBabyM1.Main end
type validation_state = Tezos_raw_protocol_005_PsBabyM1.Main.validation_state = {
  1. mode : validation_mode;
  2. chain_id : Tezos_base__TzPervasives.Chain_id.t;
  3. ctxt : Tezos_raw_protocol_005_PsBabyM1.Alpha_context.t;
  4. op_count : int;
}
type operation = Tezos_raw_protocol_005_PsBabyM1.Alpha_context.packed_operation = {
  1. shell : Tezos_base__TzPervasives.Operation.shell_header;
  2. protocol_data : operation_data;
}
val max_block_length : int
val max_operation_data_length : int
val validation_passes : Environment_context.quota list
val block_header_data_encoding : block_header_data Tezos_base__TzPervasives.Data_encoding.t
type block_header = Tezos_raw_protocol_005_PsBabyM1.Alpha_context.Block_header.t = {
  1. shell : Tezos_base__TzPervasives.Block_header.shell_header;
  2. protocol_data : block_header_data;
}
val block_header_metadata_encoding : block_header_metadata Tezos_base__TzPervasives.Data_encoding.t
val operation_data_encoding : operation_data Tezos_base__TzPervasives.Data_encoding.t
val operation_receipt_encoding : operation_receipt Tezos_base__TzPervasives.Data_encoding.t
val operation_data_and_receipt_encoding : (operation_data * operation_receipt) Tezos_base__TzPervasives.Data_encoding.t
val acceptable_passes : operation -> int list
val compare_operations : operation -> operation -> int
val current_context : validation_state -> (Environment_context.Context.t, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
val begin_partial_application : chain_id:Tezos_base__TzPervasives.Chain_id.t -> ancestor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base__TzPervasives.Time.Protocol.t -> predecessor_fitness:Tezos_protocol_environment_structs.V0.M.MBytes.t list -> block_header -> (validation_state, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
val begin_application : chain_id:Tezos_base__TzPervasives.Chain_id.t -> predecessor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base__TzPervasives.Time.Protocol.t -> predecessor_fitness:Tezos_protocol_environment_structs.V0.M.MBytes.t list -> block_header -> (validation_state, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
val begin_construction : chain_id:Tezos_base__TzPervasives.Chain_id.t -> predecessor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base__TzPervasives.Time.Protocol.t -> predecessor_level:int32 -> predecessor_fitness:Tezos_protocol_environment_structs.V0.M.MBytes.t list -> predecessor:Tezos_base__TzPervasives.Block_hash.t -> timestamp:Tezos_base__TzPervasives.Time.Protocol.t -> ?protocol_data:block_header_data -> unit -> (validation_state, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
val apply_operation : validation_state -> operation -> (validation_state * operation_receipt, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
val finalize_block : validation_state -> (Environment_context.validation_result * block_header_metadata, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
val rpc_services : Environment_context.rpc_context Tezos_base__TzPervasives.RPC_directory.t
val init : Environment_context.Context.t -> Tezos_base__TzPervasives.Block_header.shell_header -> (Environment_context.validation_result, Tezos_protocol_environment_005_PsBabyM1__Environment.Error_monad.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.