package tezos-protocol-015-PtLimaPt

  1. Overview
  2. Docs
val max_block_length : int
val max_operation_data_length : int
val validation_passes : Updater.quota list
type block_header_data
val block_header_data_encoding : block_header_data Data_encoding.t
type block_header = {
  1. shell : Block_header.shell_header;
  2. protocol_data : block_header_data;
}
type block_header_metadata
val block_header_metadata_encoding : block_header_metadata Data_encoding.t
type operation_data
type operation_receipt
type operation = {
  1. shell : 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_pass : operation -> int option
val compare_operations : (Operation_hash.t * operation) -> (Operation_hash.t * operation) -> int
type mode =
  1. | Application of block_header
  2. | Partial_validation of block_header
  3. | Construction of {
    1. predecessor_hash : Block_hash.t;
    2. timestamp : Time.t;
    3. block_header_data : block_header_data;
    }
  4. | Partial_construction of {
    1. predecessor_hash : Block_hash.t;
    2. timestamp : Time.t;
    }
type validation_state
type application_state
val validate_operation : ?check_signature:bool -> validation_state -> Operation_hash.t -> operation -> validation_state Error_monad.tzresult Lwt.t
val finalize_validation : validation_state -> unit Error_monad.tzresult Lwt.t
val value_of_key : chain_id:Chain_id.t -> predecessor_context:Context.t -> predecessor_timestamp:Time.t -> predecessor_level:Int32.t -> predecessor_fitness:Fitness.t -> predecessor:Block_hash.t -> timestamp:Time.t -> (Context.Cache.key -> Context.Cache.value Error_monad.tzresult Lwt.t) Error_monad.tzresult Lwt.t
module Mempool : sig ... end
OCaml

Innovation. Community. Security.