package plebeia

  1. Overview
  2. Docs
Functional storage using Merkle Patricia tree

Install

dune-project
 Dependency

Authors

Maintainers

Sources

plebeia-2.1.0.tar.gz
md5=104e71a50a29b96a4b508004a539c88a
sha512=5edcd6c73dc276011c6344e121e978d294e3b8847ce6e8b28b03a2c7f3ed6bd1a860775dfb9d5b399442d66eeffcb45d9aab6f08b4accdf9287b5b7dbbf91506

doc/plebeia/Plebeia/Hash/index.html

Module Plebeia.HashSource

Sourcemodule Prefix : sig ... end
Sourcetype t = Prefix.t * string

Long hash, hash with a postfix string for Extenders

Sourceval encoding : int -> t Data_encoding.t

Encoding. The length of the prefix is given by the argument:

<- fixed length -> <1B> <-- len bytes --> +------------------+----+-----------------+ | hash prefix |len | postfix string | +------------------+----+-----------------+

Sourceval to_hex_string : t -> string
Sourceval pp : Format.formatter -> t -> unit
Sourceval of_prefix : Prefix.t -> t
Sourceval prefix : t -> Prefix.t
Sourceval is_long : t -> bool

true with non empty postfix

Sourceval to_strings : t -> string list
Sourcemodule Hasher : sig ... end
OCaml

Innovation. Community. Security.