Mavryk_protocol_environment_alpha.Signature
type public_key_hash = Mavryk_crypto.Signature.V1.public_key_hash =
| Ed25519 of Ed25519.Public_key_hash.t
| Secp256k1 of Secp256k1.Public_key_hash.t
| P256 of P256.Public_key_hash.t
| Bls of Bls.Public_key_hash.t
type public_key = Mavryk_crypto.Signature.V1.public_key =
| Ed25519 of Ed25519.Public_key.t
| Secp256k1 of Secp256k1.Public_key.t
| P256 of P256.Public_key.t
| Bls of Bls.Public_key.t
type watermark = Mavryk_crypto.Signature.V1.watermark =
| Block_header of Chain_id.t
| Endorsement of Chain_id.t
| Generic_operation
| Custom of bytes
type signature = Mavryk_crypto.Signature.V1.signature =
| Ed25519 of Ed25519.t
| Secp256k1 of Secp256k1.t
| P256 of P256.t
| Bls of Bls.t
| Unknown of Bytes.t
module Public_key_hash : sig ... end
module Public_key : sig ... end
type t = Mavryk_crypto.Signature.V1.t
val pp : Format.formatter -> t -> unit
val to_bytes : t -> bytes
val of_bytes_opt : bytes -> t option
val of_bytes_exn : bytes -> t
val to_b58check : t -> string
val to_short_b58check : t -> string
val of_b58check_exn : string -> t
val of_b58check_opt : string -> t option
val b58check_encoding : t Base58.encoding
val encoding : t Data_encoding.t
val zero : t
val check : ?watermark:watermark -> Public_key.t -> t -> bytes -> bool
val prefix_encoding : prefix Data_encoding.t
val size : t -> int