tuweni / org.apache.tuweni.trie / StoredMerklePatriciaTrie / storingBytes32

storingBytes32

@JvmStatic fun storingBytes32(storage: MerkleStorage, rootHash: Bytes32): StoredMerklePatriciaTrie<Bytes32> (source)

Create a trie with keys and values of type Bytes32.

Parameters

storage - The storage to use for persistence.

rootHash - The initial root has for the trie, which should be already present in storage.