package tezos-protocol-demo-noops

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val name : string
include module type of struct include Tezos_raw_protocol_demo_noops end
include module type of struct include Tezos_raw_protocol_demo_noops.Main end
val max_block_length : int
val max_operation_data_length : int
val validation_passes : Environment_context.quota list
type block_header_data = string
val block_header_data_encoding : block_header_data Data_encoding.t
val block_header_metadata_encoding : block_header_metadata Data_encoding.t
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 relative_position_within_block : operation -> operation -> int
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:bytes list -> block_header -> (validation_state, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t
val begin_application : chain_id:Tezos_crypto.Chain_id.t -> predecessor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base.Time.Protocol.t -> predecessor_fitness:bytes list -> block_header -> (validation_state, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.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:int32 -> predecessor_fitness:bytes list -> predecessor:Tezos_crypto.Block_hash.t -> timestamp:Tezos_base.Time.Protocol.t -> ?protocol_data:block_header_data -> unit -> (validation_state, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t
val apply_operation : validation_state -> operation -> (validation_state * operation_receipt, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t
val finalize_block : validation_state -> Tezos_base.Block_header.shell_header option -> (Environment_context.validation_result * block_header_metadata, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t
val init : Environment_context.Context.t -> Tezos_base.Block_header.shell_header -> (Environment_context.validation_result, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t
val value_of_key : chain_id:Tezos_crypto.Chain_id.t -> predecessor_context:Environment_context.Context.t -> predecessor_timestamp:Tezos_base.Time.Protocol.t -> predecessor_level:int32 -> predecessor_fitness:bytes list -> predecessor:Tezos_crypto.Block_hash.t -> timestamp:Tezos_base.Time.Protocol.t -> (Environment_context.Context.cache_key -> (Environment_context.Context.cache_value, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t, Tezos_protocol_environment_demo_noops__Environment.Error_monad.error Tezos_protocol_environment_demo_noops__Environment.Error_monad.trace) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.