package plebeia
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=f528f42d3e72d400265eb6bc51901fca
sha512=6cf070b2f1ea2e570a106b231a7e8e40c64c91c5a7abeddf072a5c413e74d5d9dd9b7df674cca559ddb33cabc9c0ec0b3a001306397d11b62888aac4cca9fd7e
doc/plebeia/Plebeia/index.html
Module Plebeia
Source
1 Plebeia
Implementation of space-efficient binary Patricia trees in OCaml. The implementation is geared for used in Tezos, though it is rather generic. A stop-and-copy GC is provided. This implementation aims to maximize correctness and cares second about efficiency.
2 Standard APIs, module interfaces are currently equivalent with Internal
include module type of struct include Internal end
A module encapsulating the concept of a path through the Patricia tree. A path is a sequence of n full segments. The n-1 first segments end in a bud and the nth ends in a leaf. Internal segments are bit of paths encoded in the internal nodes of the Patricia tree while tip segments represent the bits of path encoded close to the leaf.
1 Node traversal tools
Tree shaped append-only persistent storage for commit entries.
3 Hash
Node hashconsing based on the hashes
Merkle proof
1 Result monad