2017-12-05 18:17:54 +04:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
2018-02-06 00:17:03 +04:00
|
|
|
(* Copyright (c) 2014 - 2018. *)
|
2017-12-05 18:17:54 +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-12-05 18:17:54 +04:00
|
|
|
let name = "Context_hash"
|
|
|
|
let title = "A hash of context"
|
2018-04-03 13:44:11 +04:00
|
|
|
let b58check_prefix = Base58.Prefix.context_hash
|
2017-12-05 18:17:54 +04:00
|
|
|
let size = None
|
|
|
|
end)
|
|
|
|
|
|
|
|
let () =
|
2018-04-03 13:44:11 +04:00
|
|
|
Base58.check_encoded_prefix b58check_encoding "Co" 52
|