@JvmStatic fun storingStrings(storage: MerkleStorage): StoredMerklePatriciaTrie<String>
(source)
Create a trie with value of type String.
Strings are stored in UTF-8 encoding.
storage
- The storage to use for persistence.
@JvmStatic fun storingStrings(storage: MerkleStorage, rootHash: Bytes32): StoredMerklePatriciaTrie<String>
(source)
Create a trie with keys and values of type String.
Strings are stored in UTF-8 encoding.
storage
- The storage to use for persistence.
rootHash
- The initial root has for the trie, which should be already present in storage
.