merkle-trie / org.apache.tuweni.trie

Package org.apache.tuweni.trie

Types

AsyncMerkleStorage

abstract class AsyncMerkleStorage : MerkleStorage

A MerkleStorage implementation using AsyncResult's.

CompactEncoding

class CompactEncoding

Compact (Hex-prefix) encoding and decoding.

An implementation of Compact (Hex-prefix) encoding.

MerklePatriciaTrie

class MerklePatriciaTrie<V> : MerkleTrie<Bytes, V>

An in-memory MerkleTrie.

MerkleStorage

interface MerkleStorage

Storage for use in a StoredMerklePatriciaTrie.

MerkleTrie

interface MerkleTrie<in K, V>

A Merkle Trie.

StoredMerklePatriciaTrie

class StoredMerklePatriciaTrie<V> : MerkleTrie<Bytes, V>

A MerkleTrie that persists trie nodes to a MerkleStorage key/value store.

Exceptions

MerkleStorageException

class MerkleStorageException : RuntimeException

This exception is thrown when there is an issue retrieving or decoding values from MerkleStorage.