tuweni / org.apache.tuweni.trie / MerkleStorage / put

put

abstract suspend fun put(hash: Bytes32, content: Bytes): Unit (source)

Store content with a given hash.

Note: if the storage implementation already contains content for the given hash, it does not need to replace the existing content.

Parameters

hash - The hash for the content.

content - The content to store.