package bitcoinml

  1. Overview
  2. Docs
type t = {
  1. hash : Hash.t;
  2. version : Stdint.int32;
  3. prev_block : Hash.t;
  4. merkle_root : Hash.t;
  5. time : float;
  6. bits : Stdint.uint32;
  7. nonce : Stdint.uint32;
}
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val parse : bytes -> t option
val serialize : t -> bytes
val to_string : t -> string
val check_target : t -> bool
OCaml

Innovation. Community. Security.