package plebeia
Module PlebeiaSource
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