package bitcoinml

  1. Overview
  2. Docs
type e =
  1. | BTC
  2. | XTN
  3. | BCH
  4. | LTC
  5. | LTN
  6. | SIDECHAIN
  7. | NOTFOUND
type t = {
  1. hash_function : string -> string;
  2. block_size : int;
  3. block_time : int;
  4. genesis : Block.Header.t;
  5. magic : int;
  6. port : int;
  7. seeds : string list;
  8. network : e;
  9. checkpoints : (int * Hash.t) list;
  10. prefixes : Address.prefix;
  11. max_money : Stdint.Int64.t;
}
val of_network : e -> t
val name_of_network : e -> string
val abbr_to_network : string -> e
OCaml

Innovation. Community. Security.