package plebeia
Install
Dune Dependency
Authors
Maintainers
Sources
md5=7191dbbd3057df0a78032b560039bb59
sha512=f09790dfa65a6c8dc0da9618123d93f145c16c3b5be719dad04114bbe95a7e94697cacf2c6fb5b50c14408f864954dbf8d47e5994093623eb77f488bdf5c4205
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.
Segment encoding of file names
3 Hash
Node hashconsing based on the hashes
Merkle proof
1 Result monad