# Packages
No description provided by the author
# Functions
DefaultHashFunc implements a default hash function.
HashFuncOption sets the hash func for the trie.
KeyLengthOption sets the length of the keys saved in trie.
KVStoreOption sets the kvStore for the trie.
NewKVStore creates a new KVStore.
NewLeafIterator returns a new leaf iterator.
NewTrie creates a trie with DB filename.
NewTwoLayerTrie creates a two layer trie.
RootHashOption sets the root hash for the trie.
RootKeyOption sets the root key for the trie.
# Variables
ErrEndOfIterator defines an error which will be returned.
ErrInvalidTrie indicates something wrong causing invalid operation.
ErrNotExist indicates entry does not exist.
# Structs
LeafIterator defines an iterator to go through all the leaves under given node.
TwoLayerTrie is a trie data structure with two layers.