An open API service indexing awesome lists of open source software.

https://github.com/cloudnoize/kv-merkletree

Sparse Merkle Tree with arbitrary-length keys efficient range operations, height-reducing extensions, and verification, making it ideal for verifiable key-value storage
https://github.com/cloudnoize/kv-merkletree

cpp20 cryptography key-value merkle-tree

Last synced: 6 months ago
JSON representation

Sparse Merkle Tree with arbitrary-length keys efficient range operations, height-reducing extensions, and verification, making it ideal for verifiable key-value storage

Awesome Lists containing this project

README

          

Here's a concise description for your GitHub repository:

---

# KV-Merkle

**KV-Merkle** is a **Sparse Merkle Tree** that integrates features from Patricia trees, Jellyfish trees, and Sparse Merkle Trees while introducing novel enhancements. Unlike traditional Merkle trees, KV-Merkle:

- Supports **arbitrary-length keys** without requiring hashing.
- Preserves **lexicographic order**, enabling **efficient range queries** and **range deletions**.
- Reduces tree height with **extensions** that collapse common prefixes.
- Operates **independently** from the key-value store, allowing **parallel verification**.
- Provides **optimized caching** with a **1-to-1 memory-disk mapping**.
- Uses **nil node optimization** for compact storage and smaller proofs.

This makes KV-Merkle an ideal choice for **verifiable key-value storage** with efficient range operations.

---