plebeia
Functional storage using Merkle Patricia tree
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package plebeia
-
plebeia
-
-
plebeia.msync
-
plebeia.test_utils
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
3 Hash
Commit hash identifies commits. It is
Hash of the top Plebeia node hash + the parent commit hash
The size of commit hash is fixed to 32bytes
val to_string : t -> string
Get the 32 bytes binary string representation of t
.
val of_string : string -> t
32 bytes binary string representation to t
. Fails if the string is inappropriate.
val zero : t
zero
returns 32 bytes of zeros
val is_zero : t -> bool
val to_hex_string : t -> string
Convert to 64 chars of hexdigits to t
val of_hex_string : string -> t
Reverse of to_hex_string
. Fails if the string is inappropriate.
val show : t -> string
Behaviour can be changed via Hash.show_ref
val pp : Stdlib.Format.formatter -> t -> unit
val encoding : t Data_encoding.t
ON THIS PAGE
No table of contents