package tezos-context

  1. Overview
  2. Docs
type t = Stdlib.Int32.t * data
and info = {
  1. author : string;
  2. message : string;
  3. timestamp : Tezos_base__TzPervasives.Time.Protocol.t;
}
and data = {
  1. info : info;
  2. protocol_hash : Tezos_base__TzPervasives.Protocol_hash.t;
  3. test_chain_status : Tezos_base__TzPervasives.Test_chain_status.t;
  4. data_key : Tezos_base__TzPervasives.Context_hash.t;
  5. predecessor_block_metadata_hash : Tezos_base__TzPervasives.Block_metadata_hash.t option;
  6. predecessor_ops_metadata_hash : Tezos_base__TzPervasives.Operation_metadata_list_list_hash.t option;
  7. parents : Tezos_base__TzPervasives.Context_hash.t list;
}
val to_bytes : t -> Stdlib.Bytes.t
val of_bytes : Stdlib.Bytes.t -> t option
val encoding : t Tezos_base__TzPervasives.Data_encoding.t
OCaml

Innovation. Community. Security.