Skip to main content

Crate hypercall_state_commitment

Crate hypercall_state_commitment 

Source

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§

JellyfishMerkleIterator
An iterator over all key-value pairs in a JellyfishMerkleTree.
JellyfishMerkleTree
A Jellyfish Merkle tree data structure, parameterized by a TreeReader R and a SimpleHasher H. See [crate] for description.
KeyHash
A hashed key used to index a JellyfishMerkleTree.
RootHash
A root of a JellyfishMerkleTree.
TreeUpdateBatch
This is a wrapper of NodeBatch, StaleNodeIndexBatch and some stats of nodes that represents the incremental updates of a tree and pruning indices after applying a write set, which is a vector of hashed_account_address and new_value pairs.

Traits§

SimpleHasher
A minimal trait representing a hash function. We implement our own rather than relying on Digest for broader compatibility.
TreeReader
Defines the interface between a JellyfishMerkleTree and underlying storage holding nodes.
TreeWriter
Defines the interface used to write a batch of updates from a JellyfishMerkleTree to the underlying storage holding nodes.

Type Aliases§

Version
Specifies a particular version of the JellyfishMerkleTree state.