-
static <Key,
Value extends io.hotmoka.marshalling.api.Marshallable>
PatriciaTrie<Key,Value>
PatriciaTries.of(KeyValueStore store,
io.hotmoka.crypto.api.HashingAlgorithm<? super Key> hashingForKeys,
io.hotmoka.crypto.api.HashingAlgorithm<byte[]> hashingForNodes,
io.hotmoka.marshalling.api.Unmarshaller<? extends Value> valueUnmarshaller,
PatriciaTries.UnmarshallingContextSupplier unmarshallingContextSupplier,
long numberOfCommits)
Yields a Merkle-Patricia trie supported by the underlying store,
using the given hashing algorithm to hash nodes, keys and the values.