package bitcoinml

  1. Overview
  2. Docs
type t = {
  1. out_hash : string;
  2. out_n : Stdint.uint32;
  3. script : Script.t;
  4. sequence : Stdint.uint32;
}
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val parse : ?coinbase:bool -> Bitstring.bitstring -> Bitstring.bitstring * t option
val parse_all : ?coinbase:bool -> Bitstring.bitstring -> Bitstring.bitstring * t list option
val serialize : t -> bytes
val serialize_all : t list -> bytes
val to_string : t -> string
OCaml

Innovation. Community. Security.