2016-11-29 00:54:32 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2016-11-29 00:54:32 +04:00
|
|
|
(* Dynamic Ledger Solutions, Inc. <contact@tezos.com> *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. No warranty, explicit or implicit, provided. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
|
|
|
|
2018-04-03 13:44:11 +04:00
|
|
|
include Blake2B.Make (Base58) (struct
|
2017-11-27 09:13:12 +04:00
|
|
|
let name = "Block_hash"
|
|
|
|
let title = "A Tezos block ID"
|
2018-04-03 13:44:11 +04:00
|
|
|
let b58check_prefix = Base58.Prefix.block_hash
|
2017-11-27 09:13:12 +04:00
|
|
|
let size = None
|
|
|
|
end)
|
2016-11-29 00:54:32 +04:00
|
|
|
|
2017-11-27 09:13:12 +04:00
|
|
|
let () =
|
2018-04-03 13:44:11 +04:00
|
|
|
Base58.check_encoded_prefix b58check_encoding "B" 51
|