Pebble

PebbleDB is a lightweight, efficient key-value store designed for simplicity and performance. It provides a seamless way to manage data without the overhead of complex configurations or setups.

🔄 Integration with MerklePatriciaTree:

PebbleDB serves as the primary storage mechanism for our MerklePatriciaTree. It's responsible for persisting the data and ensuring its integrity. When the tree commits, PebbleDB stores the data. Additionally, the tree's root hash is specifically saved under the key: const rootHashKey = "rootHash" for easy access and consistency.

📚 Learn More:

Dive deeper into PebbleDB's architecture and features by exploring its GitHub repository.

Last updated