jmt

Module storage

Source
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 of hashed_account_address and new_value pairs.

Enums§

Traits§

Type Aliases§