Expand description
The merkle tree in the storage
Modules§
- eth_
bridge_ pool - Ethereum bridge pool merkle tree
- ics23_
specs - A module that contains
Structs§
- Block
Height - Height of a block, i.e. the level. The
defaultis theBlockHeight::sentinelvalue, which doesn’t correspond to any block. - Commit
Data Root - Fake merkle tree just to commit extra data to the merkle tree
- Commitment
Proof - CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages
- Epoch
- Epoch identifier. Epochs are identified by consecutive numbers.
- H256
- Represent 256 bits
- Hash
- A hash, typically a sha-2 hash of a tx
- Keccak
Hash - Represents a Keccak hash.
- Key
- A storage key is made of storage key segments
DbKeySeg, separated byKEY_SEGMENT_SEPARATOR. - Merkle
Root - The root hash of the merkle tree as bytes
- Merkle
Tree - Merkle tree storage
- Merkle
Tree Stores Read - The root and store pairs to restore the trees
- Merkle
Tree Stores Write - The root and store pairs to be persistent
- Proof
- A storage key existence or non-existence proof
Enums§
- Error
- Membership
Proof - Type of membership proof from a merkle tree
- Store
- Backing storage for merkle trees
- Store
Ref - Pointer to backing storage of merkle tree
- Store
Type - Store types for the merkle tree
Constants§
- NO_
DIFF_ KEY_ PREFIX - Key prefix for the data not stored to diffs
Traits§
- Storage
Hasher - The storage hasher used for the merkle tree.
- SubTree
Read - Trait for reading from a merkle tree that is a sub-tree of the global merkle tree.
- SubTree
Write - Trait for updating a merkle tree that is a sub-tree of the global merkle tree
Functions§
- tree_
key_ prefix_ with_ epoch - Get the key prefix with which the tree root and store are stored in the storage
- tree_
key_ prefix_ with_ height - Get the key prefix with which the tree root and store are stored in the storage
Type Aliases§
- Amt
- Arse-merkle-tree
- AmtStore
- Arse-merkle-tree store
- Bridge
Pool Store - Bridge pool store
- Smt
- Sparse-merkle-tree
- SmtStore
- Sparse-merkle-tree store
- Storage
Bytes - Type alias for bytes to be put into the Merkle storage