Shell: export Signature.Public_key_hash.zero
This commit is contained in:
parent
c3eda23b45
commit
a3a33c4814
@ -164,6 +164,8 @@ module type SIGNATURE = sig
|
|||||||
include ENCODER with type t := t
|
include ENCODER with type t := t
|
||||||
include INDEXES with type t := t
|
include INDEXES with type t := t
|
||||||
|
|
||||||
|
val zero: t
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
module Public_key : sig
|
module Public_key : sig
|
||||||
|
@ -59,6 +59,8 @@ module Public_key_hash = struct
|
|||||||
|
|
||||||
let size = 1 + Ed25519.size
|
let size = 1 + Ed25519.size
|
||||||
|
|
||||||
|
let zero = Ed25519 Ed25519.Public_key_hash.zero
|
||||||
|
|
||||||
include Helpers.MakeRaw(struct
|
include Helpers.MakeRaw(struct
|
||||||
type nonrec t = t
|
type nonrec t = t
|
||||||
let name = name
|
let name = name
|
||||||
|
@ -217,6 +217,8 @@ module type SIGNATURE = sig
|
|||||||
include ENCODER with type t := t
|
include ENCODER with type t := t
|
||||||
include INDEXES with type t := t
|
include INDEXES with type t := t
|
||||||
|
|
||||||
|
val zero: t
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
module Public_key : sig
|
module Public_key : sig
|
||||||
|
@ -285,6 +285,8 @@ module Make (Context : CONTEXT) = struct
|
|||||||
include ENCODER with type t := t
|
include ENCODER with type t := t
|
||||||
include INDEXES with type t := t
|
include INDEXES with type t := t
|
||||||
|
|
||||||
|
val zero: t
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
module Public_key : sig
|
module Public_key : sig
|
||||||
|
Loading…
Reference in New Issue
Block a user