plebeia
Merkle Patricia tree implementation
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package plebeia
-
plebeia
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
the type for the node hash.
Non Extenders have the fixed 224bit (28byte) length.
Extenders have variable lengths from 30 bytes to 256 bytes.
val encoding : t Data_encoding.t
val to_hex_string : t -> string
Hex string representation of t
Compute node hash of a node
val compute :
Plebeia__Context.t ->
Plebeia__Node.node ->
Plebeia__Node.view * t
Compute the node hash of the given node. It may traverse the node loading subnodes from the disk to obtain or compute the node hashes of subnodes if necessary.
ON THIS PAGE
No table of contents