Module fuel_core_storage::blueprint::sparse
source · Expand description
The module defines the Sparse
blueprint for the storage.
The Sparse
blueprint implements the sparse merkle tree on top of the storage.
It is like a Plain
blueprint that builds the sparse
merkle tree parallel to the normal storage and maintains it.
Structs§
- The
Sparse
blueprint builds the storage as aPlain
blueprint and maintains the sparse merkle tree by theMetadata
andNodes
tables.
Traits§
- The trait that allows to convert the key of the table into the key of the metadata table. If the key comprises several entities, it is possible to build a Merkle tree over different primary keys. The trait defines the key over which to build an SMT.