package tezos-benchmark

  1. Overview
  2. Docs

Create a finite key pool.

Parameters

module Arg : Param_S with type algo := Tezos_crypto.Signature.V1.algo

Signature

val pk : Tezos_crypto.Signature.V1.Public_key.t Base_samplers.sampler

Sample a public key from the pool.

val pkh : Tezos_crypto.Signature.V1.Public_key_hash.t Base_samplers.sampler

Sample a public key hash from the pool.

val sk : Tezos_crypto.Signature.V1.Secret_key.t Base_samplers.sampler

Sample a secret key from the pool.

val all : (Tezos_crypto.Signature.V1.Public_key_hash.t * Tezos_crypto.Signature.V1.Public_key.t * Tezos_crypto.Signature.V1.Secret_key.t) Base_samplers.sampler

Sample a (pkh, pk, sk) triplet from the pool.

OCaml

Innovation. Community. Security.