Module db_key_mapper

Module db_key_mapper 

Source

Structs§

SpreadPrefixKeyMapper
A DatabaseKeyMapper tailored for databases which cannot tolerate long common prefixes among keys (for performance reasons). In other words, it spreads the keys “evenly” (i.e. pseudo-randomly) across the key space. For context: our use-case for this is the Jellyfish Merkle Tree.

Traits§

DatabaseKeyMapper
A mapper between the business ReNode / Partition / Substate IDs and database keys.
SubstateKeyContent