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.Time.Protocol.t;
}
and data = {
  1. info : info;
  2. protocol_hash : Tezos_crypto.Protocol_hash.t;
  3. test_chain_status : Tezos_base.Test_chain_status.t;
  4. data_key : Tezos_crypto.Context_hash.t;
  5. predecessor_block_metadata_hash : Tezos_crypto.Block_metadata_hash.t option;
  6. predecessor_ops_metadata_hash : Tezos_crypto.Operation_metadata_list_list_hash.t option;
  7. parents : Tezos_crypto.Context_hash.t list;
}
val to_bytes : t -> Stdlib.Bytes.t
val of_bytes : Stdlib.Bytes.t -> t option
val encoding : t Data_encoding.t
OCaml

Innovation. Community. Security.