Module V0.Block_header

type shell_header = Tezos_base__TzPervasives.Block_header.shell_header = {
level : Int32.t;
proto_level : int;
predecessor : Block_hash.t;
timestamp : Time.t;
validation_passes : int;
operations_hash : Operation_list_list_hash.t;
fitness : MBytes.t list;
context : Context_hash.t;
}
val shell_header_encoding : shell_header Data_encoding.t
type t = Tezos_base__TzPervasives.Block_header.t = {
shell : shell_header;
protocol_data : MBytes.t;
}
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val pp : Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val to_bytes : t -> MBytes.t
val of_bytes : MBytes.t -> t option
val hash : t -> Block_hash.t
val hash_raw : MBytes.t -> Block_hash.t