Re-exports§
pub use hasher::Keccak256Hasher;pub use keys::StateKey;
Modules§
- batch_
root - hasher
- keys
- leaves
- mmr
- pipeline
- Commitment pipeline: converts engine state deltas into Merkle roots.
- rocks_
store - state_
tree - store
Structs§
- Jellyfish
Merkle Iterator - An iterator over all key-value pairs in a
JellyfishMerkleTree. - Jellyfish
Merkle Tree - A Jellyfish Merkle tree data structure, parameterized by a
TreeReaderRand aSimpleHasherH. See [crate] for description. - KeyHash
- A hashed key used to index a
JellyfishMerkleTree. - Root
Hash - A root of a
JellyfishMerkleTree. - Tree
Update Batch - This is a wrapper of
NodeBatch,StaleNodeIndexBatchand some stats of nodes that represents the incremental updates of a tree and pruning indices after applying a write set, which is a vector ofhashed_account_addressandnew_valuepairs.
Traits§
- Simple
Hasher - A minimal trait representing a hash function. We implement our own
rather than relying on
Digestfor broader compatibility. - Tree
Reader - Defines the interface between a
JellyfishMerkleTreeand underlying storage holding nodes. - Tree
Writer - Defines the interface used to write a batch of updates from a
JellyfishMerkleTreeto the underlying storage holding nodes.
Type Aliases§
- Version
- Specifies a particular version of the
JellyfishMerkleTreestate.