tuweni / org.apache.tuweni.trie / StoredMerklePatriciaTrie / storingBytes

storingBytes

@JvmStatic fun storingBytes(storage: MerkleStorage): StoredMerklePatriciaTrie<Bytes> (source)

Create a trie with value of type Bytes.

Parameters

storage - The storage to use for persistence.

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

Create a trie with keys and values of type Bytes.

Parameters

storage - The storage to use for persistence.

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