19 lines
861 B
OCaml
19 lines
861 B
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Copyright (c) 2014 - 2017. *)
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
(* *)
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
include Blake2B.Make (Base58) (struct
|
|
let name = "Block_hash"
|
|
let title = "A Tezos block ID"
|
|
let b58check_prefix = Base58.Prefix.block_hash
|
|
let size = None
|
|
end)
|
|
|
|
let () =
|
|
Base58.check_encoded_prefix b58check_encoding "B" 51
|