package octez-protocol-019-PtParisB-libs

  1. Overview
  2. Docs
Octez protocol 019-PtParisB libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-protocol-019-PtParisB-libs.dac/Tezos_dac_019_PtParisB/Dac_plugin_registration/Make/index.html

Module Dac_plugin_registration.MakeSource

Parameters

module Mapper : sig ... end

Signature

Sourceval encoding : Tezos_dac_lib.Dac_plugin.hash Tezos_base.TzPervasives.Data_encoding.t

The encoding of reveal hashes.

equal h1 h2 determines if h1 and h2 are the same hash.

Sourceval hash_string : scheme:Tezos_dac_lib.Dac_plugin.supported_hashes -> ?key:string -> string list -> Tezos_dac_lib.Dac_plugin.hash

hash_string ~scheme ?key strings hashes strings using the supported hashing scheme given in input.

Sourceval hash_bytes : scheme:Tezos_dac_lib.Dac_plugin.supported_hashes -> ?key:bytes -> bytes list -> Tezos_dac_lib.Dac_plugin.hash

hash_bytes ~scheme ?key strings hashes bytes using the supported hashing scheme given in input.

scheme_of_hash hash returns the supported hashing scheme that was used to obtain hash.

Sourceval of_hex : string -> Tezos_dac_lib.Dac_plugin.hash option

of_hex hex decodes a hex into hash.

to_hex hash encodes hash into hex.

size ~scheme returns the size of reveal hashes using the scheme specified in input.

OCaml

Innovation. Community. Security.