package bitcoinml
Module Block.Header
Block header parsing / serialization module
type t = {hash : Hash.t;version : Stdint.int32;prev_block : Hash.t;merkle_root : Hash.t;time : float;bits : string;nonce : Stdint.uint32;
}val parse : string -> t optionParse a block header
val serialize : t -> stringSerialize a block header
val check_target : t -> boolCheck the nbits / hash target