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-02-08 13:51:01 +04:00
|
|
|
include Blake2B.Make (Tezos_crypto.Base58) (struct
|
2017-12-05 18:17:54 +04:00
|
|
|
let name = "Context_hash"
|
|
|
|
let title = "A hash of context"
|
2018-02-08 13:51:01 +04:00
|
|
|
let b58check_prefix = Tezos_crypto.Base58.Prefix.context_hash
|
2017-12-05 18:17:54 +04:00
|
|
|
let size = None
|
|
|
|
end)
|
|
|
|
|
|
|
|
let () =
|
2018-02-08 13:51:01 +04:00
|
|
|
Tezos_crypto.Base58.check_encoded_prefix b58check_encoding "Co" 52
|