Expand description
Contains types used to bridge a JellyfishMerkleTree
to the backing storage recording the tree’s internal data.
Structs§
- Represents a key-value pair in the map.
- NibblePath defines a path in Merkle tree in the unit of nibble (4 bits).
- Node batch that will be written into db atomically with other batches.
- The unique key of each node.
- Indicates a node becomes stale since
stale_since_version
. - 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 ofhashed_account_address
andnew_value
pairs.
Enums§
- The concrete node type of
JellyfishMerkleTree
.
Traits§
- Defines the ability for a tree to look up the preimage of its key hashes.
- Defines the interface between a
JellyfishMerkleTree
and underlying storage holding nodes. - Defines the interface used to write a batch of updates from a
JellyfishMerkleTree
to the underlying storage holding nodes.
Type Aliases§
StaleNodeIndex
batch that will be written into db atomically with other batches.