Merkle Trie implementations.
Implementations of the Ethereum Patricia Trie, as described at https://github.com/ethereum/wiki/wiki/Patricia-Tree.
These classes are included in the complete Tuweni distribution, or separately when using the gradle dependency org.apache.tuweni:tuweni-merkle-trie
(tuweni-merkle-trie.jar
).
Merkle Trie implementations using Kotlin coroutines.
abstract class AsyncMerkleStorage : MerkleStorage
A MerkleStorage implementation using AsyncResult's. |
|
class CompactEncoding
Compact (Hex-prefix) encoding and decoding. An implementation of Compact (Hex-prefix) encoding. |
|
class MerklePatriciaTrie<V> : MerkleTrie<Bytes, V>
An in-memory MerkleTrie. |
|
interface MerkleStorage
Storage for use in a StoredMerklePatriciaTrie. |
|
interface MerkleTrie<in K, V>
A Merkle Trie. |
|
class StoredMerklePatriciaTrie<V> : MerkleTrie<Bytes, V>
A MerkleTrie that persists trie nodes to a MerkleStorage key/value store. |
class MerkleStorageException : RuntimeException
This exception is thrown when there is an issue retrieving or decoding values from MerkleStorage. |