Shell: export Signature.Public_key_hash.zero

This commit is contained in:
Grégoire Henry 2018-04-19 16:50:31 +02:00
parent c3eda23b45
commit a3a33c4814
4 changed files with 8 additions and 0 deletions

View File

@ -164,6 +164,8 @@ module type SIGNATURE = sig
include ENCODER with type t := t
include INDEXES with type t := t
val zero: t
end
module Public_key : sig

View File

@ -59,6 +59,8 @@ module Public_key_hash = struct
let size = 1 + Ed25519.size
let zero = Ed25519 Ed25519.Public_key_hash.zero
include Helpers.MakeRaw(struct
type nonrec t = t
let name = name

View File

@ -217,6 +217,8 @@ module type SIGNATURE = sig
include ENCODER with type t := t
include INDEXES with type t := t
val zero: t
end
module Public_key : sig

View File

@ -285,6 +285,8 @@ module Make (Context : CONTEXT) = struct
include ENCODER with type t := t
include INDEXES with type t := t
val zero: t
end
module Public_key : sig