package bitcoinml

  1. Overview
  2. Docs
module Header : sig ... end

Block header parsing / serialization module

type t = {
  1. header : Header.t;
  2. txs : Tx.t list;
  3. size : int;
}
val parse : string -> t option

Parse a block

val parse_legacy : string -> t option

Parse a legacy block

val serialize : t -> string

Serialize a block

OCaml

Innovation. Community. Security.