package
1.14.2
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Functions

AsyncOption enables async commit.
CloseLogDB close the log DB file.
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.
New creates a trie with DB filename.
NewLayerTwoLeafIterator returns a new leaf iterator.
NewLeafIterator returns a new leaf iterator.
NewSortedList create SortedList from keys in the children map.
NewTwoLayerTrie creates a two layer trie.
OpenLogDB open the log DB file.
RootHashOption sets the root hash for the trie.

# Variables

ErrNoData is an error when a hash node has no corresponding data.

# Structs

LeafIterator defines an iterator to go through all the leaves under given node.
SortedList is a data structure where elements are in ascending order.

# Type aliases

No description provided by the author
Option sets parameters for SameKeyLenTrieContext construction parameter.