Crate prollytree

Source
Expand description

§Prolly

A Prolly Tree is a hybrid data structure that combines the features of B-trees and Merkle trees to provide both efficient data access and verifiable integrity. It is specifically designed to handle the requirements of distributed systems and large-scale databases, making indexes syncable and distributable over peer-to-peer (P2P) networks.

§Features

  • Verifiability: The cryptographic hashing in Prolly Trees ensures data integrity and allows for verifiable proofs of inclusion/exclusion.
  • Performance: The balanced tree structure provides efficient data access patterns similar to B-trees, ensuring high performance for both random and sequential access.
  • Scalability: Prolly Trees are suitable for large-scale applications, providing efficient index maintenance and data distribution capabilities.
  • Flexibility: The probabilistic balancing allows for handling various mutation patterns without degrading performance or structure.

§Usage

To use prolly, add the following to your Cargo.toml:

[dependencies]
prolly = "0.1.0"

Follow examples in the github repository to get started.

Modules§

config
digest
errors
node
proof
storage
tree