interface MerkleStorage
(source)
Storage for use in a StoredMerklePatriciaTrie.
get |
Get the stored content under the given hash. abstract suspend fun get(hash: Bytes32): Bytes? |
put |
Store content with a given hash. abstract suspend fun put(hash: Bytes32, content: Bytes): Unit |
AsyncMerkleStorage |
A MerkleStorage implementation using AsyncResult's. abstract class AsyncMerkleStorage : MerkleStorage |